diff options
author | Sebastian Capella <sebastian.capella@linaro.org> | 2013-11-12 18:08:39 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-12 22:09:12 -0500 |
commit | 6c251611ce68d80e0067aab80a0a3b6bc652d5f5 (patch) | |
tree | e415d542a1a38fc55c993a804acb114c768f5d92 /init/do_mounts.c | |
parent | b5064654c538ad9a2eb1195d80e7593b2e1c1452 (diff) |
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: Sebastian Capella <sebastian.capella@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/do_mounts.c')
-rw-r--r-- | init/do_mounts.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c index a51cddc2ff8c..8e5addc45874 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c | |||
@@ -197,6 +197,8 @@ done: | |||
197 | * is a zero-filled hex representation of the 1-based partition number. | 197 | * is a zero-filled hex representation of the 1-based partition number. |
198 | * 7) PARTUUID=<UUID>/PARTNROFF=<int> to select a partition in relation to | 198 | * 7) PARTUUID=<UUID>/PARTNROFF=<int> to select a partition in relation to |
199 | * a partition with a known unique id. | 199 | * a partition with a known unique id. |
200 | * 8) <major>:<minor> major and minor number of the device separated by | ||
201 | * a colon. | ||
200 | * | 202 | * |
201 | * If name doesn't have fall into the categories above, we return (0,0). | 203 | * If name doesn't have fall into the categories above, we return (0,0). |
202 | * block_class is used to check if something is a disk name. If the disk | 204 | * block_class is used to check if something is a disk name. If the disk |