Commit 6c251611 authored by Sebastian Capella's avatar Sebastian Capella Committed by Linus Torvalds

init/do_mounts.c: add maj:min syntax comment

The name_to_dev_t function has a comment block which lists the supported
syntaxes for the device name.  Add a bullet for the <major>:<minor>
syntax, which is already supported in the code
Signed-off-by: default avatarSebastian Capella <sebastian.capella@linaro.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b5064654
...@@ -197,6 +197,8 @@ static dev_t devt_from_partuuid(const char *uuid_str) ...@@ -197,6 +197,8 @@ static dev_t devt_from_partuuid(const char *uuid_str)
* is a zero-filled hex representation of the 1-based partition number. * is a zero-filled hex representation of the 1-based partition number.
* 7) PARTUUID=<UUID>/PARTNROFF=<int> to select a partition in relation to * 7) PARTUUID=<UUID>/PARTNROFF=<int> to select a partition in relation to
* a partition with a known unique id. * a partition with a known unique id.
* 8) <major>:<minor> major and minor number of the device separated by
* a colon.
* *
* If name doesn't have fall into the categories above, we return (0,0). * If name doesn't have fall into the categories above, we return (0,0).
* block_class is used to check if something is a disk name. If the disk * block_class is used to check if something is a disk name. If the disk
......
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