]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
doc: improve description of FAT partition name generation
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 29 Mar 2024 12:01:00 +0000 (13:01 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 8 Apr 2024 11:01:09 +0000 (13:01 +0200)
List all prefix currently used for generating FAT partition names.
Describe which device class uses which prefix.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
doc/usage/partitions.rst

index 628469bbec991be3b799b95f9418a6a7294342d7..acf4573097dcd16b117bf50bae3b8734554743ab 100644 (file)
@@ -44,9 +44,20 @@ partname
                 <devtype><devletter><partnum>
 
         devtype
-                A device type like ``mmcsd`` or ``hd``. See the
-                ``part_set_generic_name`` function in ``disk/part.c`` for a
-                complete list.
+                The devtype field is set in dependence of the device class:
+
+                ======= ===============
+                devtype device class
+                ======= ===============
+                hd      IDE or SATA
+                sd      SCSI
+                usbd    USB
+                mmcsd   eMMC or SD-card
+                xx      others
+                ======= ===============
+
+                See the ``part_set_generic_name`` function in ``disk/part.c``
+                for the complete list.
 
         devletter
                 The device number as an offset from ``a``. For example, device