* [PATCH] init/do_mounts: better syntax description
@ 2014-08-26 11:49 Pavel Machek
0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2014-08-26 11:49 UTC (permalink / raw)
To: kernel list, trivial, Andrew Morton
Specify hex device number unambiquously.
Signed-off-by: Pavel Machek <pavel@denx.de>
diff --git a/init/do_mounts.c b/init/do_mounts.c
index b6237c3..9f9d5e5 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
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-08-26 11:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-26 11:49 [PATCH] init/do_mounts: better syntax description Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox