summaryrefslogtreecommitdiffstats
path: root/sys-utils
diff options
context:
space:
mode:
authorKarel Zak2017-08-10 12:37:34 +0200
committerKarel Zak2017-08-10 12:37:34 +0200
commit60eedb0a53f14aa1169713a72325421db8e1c647 (patch)
tree73f648ba45293f3238d6e5db9c034151e2a9edb2 /sys-utils
parentMerge branch 'master' of https://github.com/RAOF/util-linux (diff)
downloadkernel-qcow2-util-linux-60eedb0a53f14aa1169713a72325421db8e1c647.tar.gz
kernel-qcow2-util-linux-60eedb0a53f14aa1169713a72325421db8e1c647.tar.xz
kernel-qcow2-util-linux-60eedb0a53f14aa1169713a72325421db8e1c647.zip
losetup: add info about lazy detach to manpage
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils')
-rw-r--r--sys-utils/losetup.85
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-utils/losetup.8 b/sys-utils/losetup.8
index 9dab58037..98a8e70d6 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.