Tag Info

New answers tagged

5

losetup (the command normally used to set them up) will tell you: $ /sbin/losetup --list NAME SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE /dev/loop0 0 0 0 0 /var/tmp/jigdo/debian-7.6.0-amd64-CD-1.iso Note that with older versions you may hat to use use -a instead of --list, and this outputs in a different and now deprecated ...


0

You can do it manually with either dd seek, or easier, since you use truncate: truncate -s 100M file mkfs.ext4 -m0 file #mount, do whatever umount /mountpoint #let's grow it to 200 MB truncate -s 200M file e2fsck -f file && resize2fs file #done A 2 liner for growing it, hardly calls for automation here, I would dare say :)



Top 50 recent answers are included