From: Karel Zak Date: Thu, 10 Aug 2017 10:37:34 +0000 (+0200) Subject: losetup: add info about lazy detach to manpage X-Git-Tag: v2.31-rc1~141 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=60eedb0a53f14aa1169713a72325421db8e1c647;p=thirdparty%2Futil-linux.git losetup: add info about lazy detach to manpage Signed-off-by: Karel Zak --- diff --git a/sys-utils/losetup.8 b/sys-utils/losetup.8 index 9dab580375..98a8e70d6e 100644 --- a/sys-utils/losetup.8 +++ b/sys-utils/losetup.8 @@ -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.