diff options
author | Karel Zak | 2010-04-08 16:38:23 +0200 |
---|---|---|
committer | Karel Zak | 2010-04-08 16:46:52 +0200 |
commit | 556c9641f01eb9c6d1c5b4ae3c6cdd4f9395d34d (patch) | |
tree | 2e287cab3d11008a96352431e9ff0d3af83d515c /mount/mount.8 | |
parent | rtcwake: add --dry-run option (diff) | |
download | kernel-qcow2-util-linux-556c9641f01eb9c6d1c5b4ae3c6cdd4f9395d34d.tar.gz kernel-qcow2-util-linux-556c9641f01eb9c6d1c5b4ae3c6cdd4f9395d34d.tar.xz kernel-qcow2-util-linux-556c9641f01eb9c6d1c5b4ae3c6cdd4f9395d34d.zip |
mount: use auto-loopdev for all known filesystems
The commit e580266914734898999f652025f9c7141023df66 introduced
"automatically detect and loop-mount regular files". This should be
used only for filesystems that require block devices.
All known filesystems in libblkid depend block devices, so we can
use blkid_known_fstype() as a filter for this feature.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/mount.8')
-rw-r--r-- | mount/mount.8 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mount/mount.8 b/mount/mount.8 index 9675cc62d..06ea3acd2 100644 --- a/mount/mount.8 +++ b/mount/mount.8 @@ -2560,13 +2560,14 @@ will try to find some unused loop device and use that, for example The mount command .B automatically creates a loop device from a regular file if a filesystem type is -not specified, for example: +not specified or the filesystem is known for libblkid, for example: .RS .sp .B "mount /tmp/disk.img /mnt" .sp +.B "mount -t ext3 /tmp/disk.img /mnt" +.sp .RE - This type of mount knows about four options, namely .BR loop ", " offset ", " sizelimit " and " encryption , that are really options to |