xref: /linux/Documentation/ABI/testing/sysfs-block-loop (revision 2d39f681bc67662f43046106f3274e9b8ca27383)
1*2d39f681SAishwarya PantWhat:		/sys/block/loopX/loop/autoclear
2*2d39f681SAishwarya PantDate:		Aug, 2010
3*2d39f681SAishwarya PantKernelVersion:	v2.6.37
4*2d39f681SAishwarya PantContact:	linux-block@vger.kernel.org
5*2d39f681SAishwarya PantDescription:
6*2d39f681SAishwarya Pant		(RO) Shows if the device is in autoclear mode or not ( "1" or
7*2d39f681SAishwarya Pant		"0"). Autoclear (if set) indicates that the loopback device will
8*2d39f681SAishwarya Pant		self-distruct after last close.
9*2d39f681SAishwarya Pant
10*2d39f681SAishwarya PantWhat:		/sys/block/loopX/loop/backing_file
11*2d39f681SAishwarya PantDate:		Aug, 2010
12*2d39f681SAishwarya PantKernelVersion:	v2.6.37
13*2d39f681SAishwarya PantContact:	linux-block@vger.kernel.org
14*2d39f681SAishwarya PantDescription:
15*2d39f681SAishwarya Pant		(RO) The path of the backing file that the loop device maps its
16*2d39f681SAishwarya Pant		data blocks to.
17*2d39f681SAishwarya Pant
18*2d39f681SAishwarya PantWhat:		/sys/block/loopX/loop/offset
19*2d39f681SAishwarya PantDate:		Aug, 2010
20*2d39f681SAishwarya PantKernelVersion:	v2.6.37
21*2d39f681SAishwarya PantContact:	linux-block@vger.kernel.org
22*2d39f681SAishwarya PantDescription:
23*2d39f681SAishwarya Pant		(RO) Start offset (in bytes).
24*2d39f681SAishwarya Pant
25*2d39f681SAishwarya PantWhat:		/sys/block/loopX/loop/sizelimit
26*2d39f681SAishwarya PantDate:		Aug, 2010
27*2d39f681SAishwarya PantKernelVersion:	v2.6.37
28*2d39f681SAishwarya PantContact:	linux-block@vger.kernel.org
29*2d39f681SAishwarya PantDescription:
30*2d39f681SAishwarya Pant		(RO) The size (in bytes) that the block device maps, starting
31*2d39f681SAishwarya Pant		from the offset.
32*2d39f681SAishwarya Pant
33*2d39f681SAishwarya PantWhat:		/sys/block/loopX/loop/partscan
34*2d39f681SAishwarya PantDate:		Aug, 2011
35*2d39f681SAishwarya PantKernelVersion:	v3.10
36*2d39f681SAishwarya PantContact:	linux-block@vger.kernel.org
37*2d39f681SAishwarya PantDescription:
38*2d39f681SAishwarya Pant		(RO) Shows if automatic partition scanning is enabled for the
39*2d39f681SAishwarya Pant		device or not ("1" or "0"). This can be requested individually
40*2d39f681SAishwarya Pant		per loop device during its setup by setting LO_FLAGS_PARTSCAN in
41*2d39f681SAishwarya Pant		in the ioctl request. By default, no partition tables are
42*2d39f681SAishwarya Pant		scanned.
43*2d39f681SAishwarya Pant
44*2d39f681SAishwarya PantWhat:		/sys/block/loopX/loop/dio
45*2d39f681SAishwarya PantDate:		Aug, 2015
46*2d39f681SAishwarya PantKernelVersion:	v4.10
47*2d39f681SAishwarya PantContact:	linux-block@vger.kernel.org
48*2d39f681SAishwarya PantDescription:
49*2d39f681SAishwarya Pant		(RO) Shows if direct IO is being used to access backing file or
50*2d39f681SAishwarya Pant		not ("1 or "0").
51