Commit 7d84120b authored by Rafał Miłecki's avatar Rafał Miłecki Committed by Brian Norris

Documentation: ABI: mtd: describe "offset" more precisely

So far Linux supported only two levels of MTD devices so we didn't need
a very precise description for this sysfs file. With commit
97519dc5 ("mtd: partitions: add support for subpartitions") there
is support for a tree structure so we should have more precise
description. Using "parent" and "flash device" makes it more accurate.
Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent ef32476f
...@@ -229,6 +229,6 @@ KernelVersion: 4.1 ...@@ -229,6 +229,6 @@ KernelVersion: 4.1
Contact: linux-mtd@lists.infradead.org Contact: linux-mtd@lists.infradead.org
Description: Description:
For a partition, the offset of that partition from the start For a partition, the offset of that partition from the start
of the master device in bytes. This attribute is absent on of the parent (another partition or a flash device) in bytes.
main devices, so it can be used to distinguish between This attribute is absent on flash devices, so it can be used
partitions and devices that aren't partitions. to distinguish them from partitions.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment