From d08b58c491031ce084f6b473300bbc2fd74d6c21 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 22 Apr 2016 13:14:12 +0200 Subject: mount: add note about loopdev reuse to mount.8 Signed-off-by: Karel Zak --- sys-utils/mount.8 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys-utils/mount.8') diff --git a/sys-utils/mount.8 b/sys-utils/mount.8 index 3197c8e66..eb0dd988f 100644 --- a/sys-utils/mount.8 +++ b/sys-utils/mount.8 @@ -2931,6 +2931,10 @@ independently of You can also free a loop device by hand, using .BR "losetup \-d " or " umount \-d" . +Since util-linux v2.29 mount command re-uses the loop device rather than +initialize a new device if the same backing file is already mounted with the +same offset. + .SH RETURN CODES .B mount has the following return codes (the bits can be ORed): -- cgit v1.2.3-55-g7522