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>
This commit is contained in:
Pavel Machek 2014-08-26 13:49:35 +02:00 committed by Jiri Kosina
parent 55688377b1
commit 0bf37ae4c4

View File

@ -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:
*
* 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