summaryrefslogtreecommitdiffstats
path: root/mount/losetup.8
Commit message (Collapse)AuthorAgeFilesLines
* rename util-linux-ng back to util-linuxKarel Zak2010-11-301-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* losetup: support suffixes and hex numbers for --offset and --sizelimitKarel Zak2010-03-301-3/+7
| | | | | Reported-By: Liu Aleaxander <aleaxander@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* losetup.8: formattingPeter Breitenlohner2009-08-171-8/+6Star
| | | | Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
* losetup: suggest to use modprobe rather than insmod in losetup.8Karel Zak2009-06-261-3/+3
| | | | | Addresses-Debian-Bug: #334796 Signed-off-by: Karel Zak <kzak@redhat.com>
* losetup: add --set-capacityKarel Zak2009-05-291-0/+9
| | | | | | | | | | | | | | | | | | | | | | The LOOP_SET_CAPACITY allows to resize loop device size. Example: # blockdev --getsize64 /dev/loop0 10485760 # dd if=/dev/zero of=/home/images/aaa.img count=10 bs=1M oflag=append conv=notrunc # blockdev --getsize64 /dev/loop0 10485760 # ./losetup --set-capacity /dev/loop0 # blockdev --getsize64 /dev/loop0 20971520 CC: J. R. Okajima <hooanon05@yahoo.co.jp> Signed-off-by: Karel Zak <kzak@redhat.com>
* losetup: cleanup man pageKarel Zak2009-02-191-8/+11
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* losetup: detach more devices by "-d <loop> [<loop> ..]"Karel Zak2009-02-191-1/+3
| | | | | | | | | | | | | | This patch allows to detach more devices by "losetup -d", for example: # losetup -a /dev/loop0: [0804]:9955739 (/home/images/ary0.img) /dev/loop1: [0804]:9955740 (/home/images/ary1.img) /dev/loop2: [0804]:9955745 (/home/images/ary2.img) # losetup -d /dev/loop0 /dev/loop1 /dev/loop2 Signed-off-by: Karel Zak <kzak@redhat.com>
* losetup: fix typo in losetup.8Karel Zak2008-04-161-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* losetup: mark the option -s as deprecatedKarel Zak2008-04-151-3/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* losetup: add --sizelimit optionShachar Shemesh2008-04-151-0/+4
| | | | | | [kzak@redhat.com: split the original patch to small patches] Signed-off-by: Shachar Shemesh <shachar@debian.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* losetup: add --associated optionKarel Zak2008-02-081-4/+9
| | | | | | | | | | | | | | | | | | | | | | | losetup -j | --associated <file> [-o <num>] This new option lists all loop devices associated with given file (and optionally file offset). Examples: # losetup -a /dev/loop0: [0807]:21921808 (/foo/vfat-mbr.img) /dev/loop1: [0807]:21921808 (/foo/vfat-mbr.img), offset 100 /dev/loop2: [0807]:21921802 (/bar/ext3.img) # losetup -j /foo/vfat-mbr.img /dev/loop0: [0807]:21921808 (/foo/vfat-mbr.img) /dev/loop1: [0807]:21921808 (/foo/vfat-mbr.img), offset 100 # losetup -j /foo/vfat-mbr.img -o 100 /dev/loop1: [0807]:21921808 (/foo/vfat-mbr.img), offset 100 Signed-off-by: Karel Zak <kzak@redhat.com>
* man pages: add "AVAILABILITY" sectionKarel Zak2007-07-031-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* losetup: add long options and fix man pageKarel Zak2007-06-271-24/+21Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* losetup: add a new option -sKarel Zak2007-06-181-1/+8
| | | | | | | | | | | | | | | | | | The losetup provides an -f option to discover an unused loop device. As implemented, it is racy. The problem is that -f prints the loop device to stdout only when used standalone. This means a script has to do: lodev=$(losetup -f) losetup $lodev $filename which is racy if another script may be running. This patch add a new option '-s'. The '-s' option prints device name if the -f option and a file argument are present. For example: lodev=$(losetup -f -s $filename) Signed-off-by: Karel Zak <kzak@redhat.com>
* losetup: add to man page info about deprecated cryptoloopKarel Zak2007-04-031-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* losetup: add support read-only loopsKarel Zak2007-03-221-0/+3
| | | | | | | This feature has been already supported by mount, but it wasn't accessible by losetup command. Now you can use "losetup -r". Signed-off-by: Karel Zak <kzak@redhat.com>
* losetup: add -a option to list all used loop devicesKarel Zak2007-03-221-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* Imported from util-linux-2.12j tarball.Karel Zak2006-12-071-16/+36
|
* Imported from util-linux-2.12a tarball.Karel Zak2006-12-071-31/+53
|
* Imported from util-linux-2.12pre tarball.Karel Zak2006-12-071-53/+31Star
|
* Imported from util-linux-2.12 tarball.Karel Zak2006-12-071-31/+53
|
* Imported from util-linux-2.10s tarball.Karel Zak2006-12-071-2/+9
|
* Imported from util-linux-2.7.1 tarball.Karel Zak2006-12-071-0/+87