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 коммит произвёл Jiri Kosina
Родитель 55688377b1
Коммит 0bf37ae4c4
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -182,7 +182,8 @@ done:
/* /*
* 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