1 What: /sys/block/loopX/loop/autoclear
4 Contact: linux-block@vger.kernel.org
6 (RO) Shows if the device is in autoclear mode or not ( "1" or
7 "0"). Autoclear (if set) indicates that the loopback device will
8 self-distruct after last close.
10 What: /sys/block/loopX/loop/backing_file
12 KernelVersion: v2.6.37
13 Contact: linux-block@vger.kernel.org
15 (RO) The path of the backing file that the loop device maps its
18 What: /sys/block/loopX/loop/offset
20 KernelVersion: v2.6.37
21 Contact: linux-block@vger.kernel.org
23 (RO) Start offset (in bytes).
25 What: /sys/block/loopX/loop/sizelimit
27 KernelVersion: v2.6.37
28 Contact: linux-block@vger.kernel.org
30 (RO) The size (in bytes) that the block device maps, starting
33 What: /sys/block/loopX/loop/partscan
36 Contact: linux-block@vger.kernel.org
38 (RO) Shows if automatic partition scanning is enabled for the
39 device or not ("1" or "0"). This can be requested individually
40 per loop device during its setup by setting LO_FLAGS_PARTSCAN in
41 in the ioctl request. By default, no partition tables are
44 What: /sys/block/loopX/loop/dio
47 Contact: linux-block@vger.kernel.org
49 (RO) Shows if direct IO is being used to access backing file or