docs: sysfs-block: document size sysfs entry
PATCH 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
@@ -707,6 +707,13 @@ Description: zoned will report "none". +What: /sys/block/<disk>/size +Date: April 2024 +Contact: [email protected] +Description: + [RO] This is the 512 bytes size sector number. + + What: /sys/block/<disk>/stat Date: February 2008 Contact: Jerome Marchand <[email protected]>
Signature · 1 line
2.40.1
Quoted 12 lines · Tokunori Ikegami
Document it since /sys/block/<disk>/size is undocumented.
Signed-off-by Tokunori Ikegami <[email protected]>--- Documentation/ABI/stable/sysfs-block | 7 +++++++ 1 file changed, 7 insertions(+)Documentation/ABI/stable/sysfs-block +0
-0
Documentation/ABI/stable/sysfs-block Description: · line 714
Quoted 8 lines
Documentation/ABI/stable/sysfs-block +5
-0@@ -707,6 +707,13 @@ Description: zoned will report "none". +What: /sys/block/<disk>/size +Date: April 2024 +Contact: [email protected] +Description: + [RO] This is the 512 bytes size sector number.
What is a "sector number"? Please change the description into something like the following:
[RO] Size of the block device in units of 512 bytes.
Thanks,
Bart.
Quoted 22 lines · Bart Van Assche
Quoted 14 lines · Tokunori Ikegami
Document it since /sys/block/<disk>/size is undocumented.
Signed-off-by Tokunori Ikegami <[email protected]>---
Documentation/ABI/stable/sysfs-block| 7 +++++++1 file changed, 7 insertions(+)Documentation/ABI/stable/sysfs-block +0
-0@@ -707,6 +707,13 @@ Description:zoned will report "none".
+What: /sys/block/<disk>/sizeDocumentation/ABI/stable/sysfs-block Description: · line 714
Quoted 4 lines
Documentation/ABI/stable/sysfs-block +4
-0+Date: April 2024 +Contact: [email protected] +Description: + [RO] This is the 512 bytes size sector number.What is a "sector number"? Please change the description into something like the following:
Quoted 1 line
[RO] Size of the block device in units of 512 bytes.
Thanks for your suggestion. Just fixed by the version 2 patch as mentioned.
Quoted 5 lines
Thanks,
Bart.