losetup: add info about lazy detach to manpage

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2017-08-10 12:37:34 +02:00
parent 959b9250d8
commit 60eedb0a53
1 changed files with 4 additions and 1 deletions

View File

@ -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.