Commit 0bf37ae4 authored by Pavel Machek's avatar Pavel Machek Committed by Jiri Kosina

init/do_mounts: better syntax description

Specify hex device number unambiquously.
Signed-off-by: default avatarPavel Machek <pavel@denx.de>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 55688377
...@@ -182,7 +182,8 @@ static dev_t devt_from_partuuid(const char *uuid_str) ...@@ -182,7 +182,8 @@ static dev_t devt_from_partuuid(const char *uuid_str)
/* /*
* Convert a name into device number. We accept the following variants: * 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) * 2) /dev/nfs represents Root_NFS (0xff)
* 3) /dev/<disk_name> represents the device number of disk * 3) /dev/<disk_name> represents the device number of disk
* 4) /dev/<disk_name><decimal> represents the device number * 4) /dev/<disk_name><decimal> represents the device number
......
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