Skip to content

Commit d395160

Browse files
committed
Documentation update about MBRBlockDevice::partition type parameter
1 parent 9a8c9e2 commit d395160

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

features/storage/blockdevice/MBRBlockDevice.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ class MBRBlockDevice : public BlockDevice {
5252
*
5353
* @param bd Block device to partition
5454
* @param part Partition to use, 1-4
55-
* @param type 8-bit partition type to identify partition contents
55+
* @param type The 8-bit partition type is to specify the actual filesystem to use/format in this partition.
56+
* It can be found from filesystem documentation or refer to
57+
* https://en.wikipedia.org/wiki/Partition_type#List_of_partition_IDs
5658
* @param start Start block address to map to block 0 of partition.
5759
* Negative addresses are calculated from the end of the
5860
* underlying block devices. Block 0 is implicitly ignored
@@ -66,7 +68,9 @@ class MBRBlockDevice : public BlockDevice {
6668
*
6769
* @param bd Block device to partition
6870
* @param part Partition to use, 1-4
69-
* @param type 8-bit partition type to identify partition contents
71+
* @param type The 8-bit partition type is to specify the actual filesystem to use/format in this partition.
72+
* It can be found from filesystem documentation or refer to
73+
* https://en.wikipedia.org/wiki/Partition_type#List_of_partition_IDs
7074
* @param start Start block address to map to block 0 of partition,
7175
* negative addresses are calculated from the end of the
7276
* underlying block devices. Block 0 is implicitly ignored

0 commit comments

Comments
 (0)