diff options
author | Karel Zak | 2006-12-07 00:25:44 +0100 |
---|---|---|
committer | Karel Zak | 2006-12-07 00:25:44 +0100 |
commit | 66ee8158b69525e12060ef558cb5d77feadab1dc (patch) | |
tree | 08b30f2d07df9213f5647bc6f60b5090a263ef43 /mount/losetup.8 | |
parent | Imported from util-linux-2.10m tarball. (diff) | |
download | kernel-qcow2-util-linux-66ee8158b69525e12060ef558cb5d77feadab1dc.tar.gz kernel-qcow2-util-linux-66ee8158b69525e12060ef558cb5d77feadab1dc.tar.xz kernel-qcow2-util-linux-66ee8158b69525e12060ef558cb5d77feadab1dc.zip |
Imported from util-linux-2.10s tarball.
Diffstat (limited to 'mount/losetup.8')
-rw-r--r-- | mount/losetup.8 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/mount/losetup.8 b/mount/losetup.8 index c2e41307d..d364f4f1e 100644 --- a/mount/losetup.8 +++ b/mount/losetup.8 @@ -46,6 +46,15 @@ attacks. .IP "\fB\-o \fIoffset\fP" the data start is moved \fIoffset\fP bytes into the specified file or device. +.SH RETURN VALUE +.B losetup +returns 0 on success, nonzero on failure. When +.B losetup +displays the status of a loop device, it returns 1 if the device +is not configured and 2 if an error occurred which prevented +.B losetup +from determining the status of the device. + .SH FILES .nf /dev/loop0,/dev/loop1,... loop devices (major=7) @@ -81,7 +90,5 @@ DES encryption is painfully slow. On the other hand, XOR is terribly weak. .SH AUTHORS .nf Original version: Theodore Ts'o <tytso@athena.mit.edu> -Maintained by: Werner Almesberger <almesber@bernina.ethz.ch> Original DES by: Eric Young <eay@psych.psy.uq.oz.au> -Modularized and updated 28-5-94: Mitch DSouza <m.dsouza@mrc-apu.cam.ac.uk> .fi |