File: sysfs-block-loop

package info (click to toggle)
linux 6.1.148-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-proposed-updates
  • size: 1,496,492 kB
  • sloc: ansic: 23,474,232; asm: 266,624; sh: 110,569; makefile: 49,899; python: 36,948; perl: 36,834; cpp: 6,055; yacc: 4,908; lex: 2,725; awk: 1,440; ruby: 25; sed: 5
file content (50 lines) | stat: -rw-r--r-- 1,484 bytes parent folder | download | duplicates (31)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
What:		/sys/block/loopX/loop/autoclear
Date:		Aug, 2010
KernelVersion:	v2.6.37
Contact:	linux-block@vger.kernel.org
Description:
		(RO) Shows if the device is in autoclear mode or not ( "1" or
		"0"). Autoclear (if set) indicates that the loopback device will
		self-distruct after last close.

What:		/sys/block/loopX/loop/backing_file
Date:		Aug, 2010
KernelVersion:	v2.6.37
Contact:	linux-block@vger.kernel.org
Description:
		(RO) The path of the backing file that the loop device maps its
		data blocks to.

What:		/sys/block/loopX/loop/offset
Date:		Aug, 2010
KernelVersion:	v2.6.37
Contact:	linux-block@vger.kernel.org
Description:
		(RO) Start offset (in bytes).

What:		/sys/block/loopX/loop/sizelimit
Date:		Aug, 2010
KernelVersion:	v2.6.37
Contact:	linux-block@vger.kernel.org
Description:
		(RO) The size (in bytes) that the block device maps, starting
		from the offset.

What:		/sys/block/loopX/loop/partscan
Date:		Aug, 2011
KernelVersion:	v3.10
Contact:	linux-block@vger.kernel.org
Description:
		(RO) Shows if automatic partition scanning is enabled for the
		device or not ("1" or "0"). This can be requested individually
		per loop device during its setup by setting LO_FLAGS_PARTSCAN in
		in the ioctl request. By default, no partition tables are
		scanned.

What:		/sys/block/loopX/loop/dio
Date:		Aug, 2015
KernelVersion:	v4.10
Contact:	linux-block@vger.kernel.org
Description:
		(RO) Shows if direct IO is being used to access backing file or
		not ("1 or "0").