From 66ee8158b69525e12060ef558cb5d77feadab1dc Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 7 Dec 2006 00:25:44 +0100 Subject: Imported from util-linux-2.10s tarball. --- mount/losetup.8 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'mount/losetup.8') 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 -Maintained by: Werner Almesberger Original DES by: Eric Young -Modularized and updated 28-5-94: Mitch DSouza .fi -- cgit v1.2.3-55-g7522