Skip to content

Commit

Permalink
init/do_mounts.c: add maj:min syntax comment
Browse files Browse the repository at this point in the history
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: Sebastian Capella <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Sebastian Capella authored and torvalds committed Nov 13, 2013
1 parent b506465 commit 6c25161
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions init/do_mounts.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
* 7) PARTUUID=<UUID>/PARTNROFF=<int> to select a partition in relation to
* 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).
* block_class is used to check if something is a disk name. If the disk
Expand Down

0 comments on commit 6c25161

Please sign in to comment.