]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
losetup: add info about lazy detach to manpage
authorKarel Zak <kzak@redhat.com>
Thu, 10 Aug 2017 10:37:34 +0000 (12:37 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 10 Aug 2017 10:37:34 +0000 (12:37 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/losetup.8

index 9dab5803759f40ad6511b068e3493caa0863e918..98a8e70d6e53bec9508c33433c9fa357009c81e4 100644 (file)
@@ -87,7 +87,10 @@ for non-root users.  See also \fB\-\-list\fR.  The old output format (as printed
 without \fB--list)\fR is deprecated.
 .TP
 .BR \-d , " \-\-detach " \fIloopdev\fR...
-Detach the file or device associated with the specified loop device(s).
+Detach the file or device associated with the specified loop device(s). Note
+that since Linux v3.7 kernel uses "lazy device destruction".  The detach
+operation does not return EBUSY error anymore if device is actively used by
+system, but it is marked by autoclear flag and destroyed later.
 .TP
 .BR \-D , " \-\-detach\-all"
 Detach all associated loop devices.