Skip to main content

Questions tagged [loop-device]

A loop device allows any file to be mounted as a filesystem image. Not to be confused with a loopback interface in networking. Don't use this tag for questions regarding "for-loops" (use the "for" tag instead).

12 votes
1 answer
881 views

Apparently, ntfs.mkfs counts one byte less when checking if the block device is large enough; or I have made some kind of mistake. After creating a partition of 2048 512-byte sectors (exactly 1MiB ...
Fivos Theophylactou's user avatar
2 votes
1 answer
270 views

There's a number of posts about losetup -d /dev/loop0 not removing a lookback device, even though it returned a successful return code. I believe the root cause of those posts is that the block device ...
Huckle's user avatar
  • 1,097
2 votes
1 answer
129 views

I’m trying to include the beginning of a disk block device (the GPT area) read-only in a device-mapper linear mapping. This block device also contains my root filesystem, as such the partition housing ...
2C7GHz's user avatar
  • 21
0 votes
0 answers
26 views

how to check how many loop-devices in a linux system are possible to use? i need this in a script, are not more than X possible, than end the script with some message...
user447274's user avatar
0 votes
1 answer
69 views

For joining in Linux files/devices in linear mode together i have this script dm-joinlinear.sh from join files/devices in linear mode together in a linux system , thanks telcoM #!/bin/sh usage() { ...
user447274's user avatar
7 votes
0 answers
368 views

As far as I understand, a loop device is a regular file that acts as a block device. It's used for various things like isolation in snap packages and installing ISOs over an existing filesystem. But ...
raul's user avatar
  • 71
3 votes
1 answer
103 views

When I create a 400MB file called /tmp/foo, then call losetup -f /tmp/foo, this creates a loop device /dev/loop15. If I then partition the loopdevice and format it to contain ext4,ntfs, and fat32 ...
mo FEAR's user avatar
  • 157
0 votes
0 answers
238 views

I created a loop device with $ truncate -s 20G test.img $ losetup -fP ./test.img $ losetup -a /dev/loop0: [0032]:4051 (/tmp/test/test.img) lsblk is able to see it just fine $ test]# lsblk NAME ...
wasp256's user avatar
  • 209

15 30 50 per page
1
2 3 4 5
13