From 60eedb0a53f14aa1169713a72325421db8e1c647 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 10 Aug 2017 12:37:34 +0200 Subject: losetup: add info about lazy detach to manpage Signed-off-by: Karel Zak --- sys-utils/losetup.8 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys-utils') 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. -- cgit v1.2.3-55-g7522