Skip to contentSkip to conversation

docs: sysfs-block: document size sysfs entry

PATCH New Tokunori Ikegami 1 participant 1 message Apr 5, 2024 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 docs: sysfs-block: document size sysfs entry

Document it since /sys/block/<disk>/size is undocumented.

---
 Documentation/ABI/stable/sysfs-block | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/ABI/stable/sysfs-block +7 -0
index 7718ed34777e..5b7ef093b60a 100644
@@ -707,6 +707,13 @@ Description:
 		zoned will report "none".
 
 
+What:		/sys/block/<disk>/size
+Date:		April 2024
+Contact:	[email protected]
+Description:
+		[RO] Size of the block device in units of 512 bytes.
+
+
 What:		/sys/block/<disk>/stat
 Date:		February 2008
 Contact:	Jerome Marchand <[email protected]>
Signature · 1 line
2.40.1