diff options
author | Pavel Machek <pavel@ucw.cz> | 2014-08-26 13:49:35 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-08-28 14:46:26 +0200 |
commit | 0bf37ae4c45a0463671a50b443e1bafec730dd4d (patch) | |
tree | 6636781beb654a133890fce43c19df9d94aee401 /init | |
parent | 55688377b19b2483ad249be30984a900a8546a17 (diff) | |
download | linux-0bf37ae4c45a0463671a50b443e1bafec730dd4d.tar.bz2 |
init/do_mounts: better syntax description
Specify hex device number unambiquously.
Signed-off-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'init')
-rw-r--r-- | init/do_mounts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c index 82f22885c87e..9b3565c41502 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -182,7 +182,8 @@ done: /* * Convert a name into device number. We accept the following variants: * - * 1) device number in hexadecimal represents itself + * 1) <hex_major><hex_minor> device number in hexadecimal represents itself + * no leading 0x, for example b302. * 2) /dev/nfs represents Root_NFS (0xff) * 3) /dev/<disk_name> represents the device number of disk * 4) /dev/<disk_name><decimal> represents the device number |