diff options
author | Pavel Machek <pavel@ucw.cz> | 2014-08-26 07:49:35 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-08-28 08:46:26 -0400 |
commit | 0bf37ae4c45a0463671a50b443e1bafec730dd4d (patch) | |
tree | 6636781beb654a133890fce43c19df9d94aee401 /init/do_mounts.c | |
parent | 55688377b19b2483ad249be30984a900a8546a17 (diff) |
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/do_mounts.c')
-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: | |||
182 | /* | 182 | /* |
183 | * Convert a name into device number. We accept the following variants: | 183 | * Convert a name into device number. We accept the following variants: |
184 | * | 184 | * |
185 | * 1) device number in hexadecimal represents itself | 185 | * 1) <hex_major><hex_minor> device number in hexadecimal represents itself |
186 | * no leading 0x, for example b302. | ||
186 | * 2) /dev/nfs represents Root_NFS (0xff) | 187 | * 2) /dev/nfs represents Root_NFS (0xff) |
187 | * 3) /dev/<disk_name> represents the device number of disk | 188 | * 3) /dev/<disk_name> represents the device number of disk |
188 | * 4) /dev/<disk_name><decimal> represents the device number | 189 | * 4) /dev/<disk_name><decimal> represents the device number |