Blame SOURCES/0157-losetup-add-info-about-lazy-detach-to-manpage.patch

05ad79
From 0258872e2b45b589481e6796aa983f8749be9ada Mon Sep 17 00:00:00 2001
05ad79
From: Karel Zak <kzak@redhat.com>
05ad79
Date: Thu, 10 Aug 2017 12:37:34 +0200
05ad79
Subject: [PATCH 157/173] losetup: add info about lazy detach to manpage
05ad79
05ad79
Upstream: http://github.com/karelzak/util-linux/commit/60eedb0a53f14aa1169713a72325421db8e1c647
05ad79
Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=1566390
05ad79
Signed-off-by: Karel Zak <kzak@redhat.com>
05ad79
---
05ad79
 sys-utils/losetup.8 | 5 ++++-
05ad79
 1 file changed, 4 insertions(+), 1 deletion(-)
05ad79
05ad79
diff --git a/sys-utils/losetup.8 b/sys-utils/losetup.8
05ad79
index 9a8c1d597..45c220187 100644
05ad79
--- a/sys-utils/losetup.8
05ad79
+++ b/sys-utils/losetup.8
05ad79
@@ -80,7 +80,10 @@ without --list) is deprecated.
05ad79
 .IP "\fB\-c, \-\-set-capacity\fP \fIloopdev\fP
05ad79
 force loop driver to reread size of the file associated with the specified loop device
05ad79
 .IP "\fB\-d, \-\-detach\fP \fIloopdev\fP..."
05ad79
-detach the file or device associated with the specified loop device(s)
05ad79
+detach the file or device associated with the specified loop device(s). Note
05ad79
+that since Linux v3.7 kernel uses "lazy device destruction".  The detach
05ad79
+operation does not return EBUSY error anymore if device is actively used by
05ad79
+system, but it is marked by autoclear flag and destroyed later.
05ad79
 .IP "\fB\-D, \-\-detach-all\fP"
05ad79
 detach all associated loop devices
05ad79
 .IP "\fB\-f, \-\-find\fP"
05ad79
-- 
05ad79
2.14.4
05ad79