diff options
author | Karel Zak | 2007-03-22 20:54:07 +0100 |
---|---|---|
committer | Karel Zak | 2007-03-22 20:54:07 +0100 |
commit | faf142b65a685a43a51132bd24924163aa0c1a95 (patch) | |
tree | c10aa8235a6b4392e47f348e911eaaf17dc2d251 /mount/losetup.8 | |
parent | losetup: add -a option to list all used loop devices (diff) | |
download | kernel-qcow2-util-linux-faf142b65a685a43a51132bd24924163aa0c1a95.tar.gz kernel-qcow2-util-linux-faf142b65a685a43a51132bd24924163aa0c1a95.tar.xz kernel-qcow2-util-linux-faf142b65a685a43a51132bd24924163aa0c1a95.zip |
losetup: add support read-only loops
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>
Diffstat (limited to 'mount/losetup.8')
-rw-r--r-- | mount/losetup.8 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mount/losetup.8 b/mount/losetup.8 index f2bb5c832..673fba0fc 100644 --- a/mount/losetup.8 +++ b/mount/losetup.8 @@ -35,6 +35,7 @@ Setup loop device: .IR offset ] .RB [ \-p .IR pfd ] +.RB [ \-r ] .in +8 .RB { \-f | \fIloop_device\fP } .I file @@ -87,6 +88,8 @@ device. Read the passphrase from file descriptor with number .I num instead of from the terminal. +.IP \fB\-r\fP +Setup read-only loop device. .SH RETURN VALUE .B losetup returns 0 on success, nonzero on failure. When |