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