[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20140826114935.GA16731@amd>
Date: Tue, 26 Aug 2014 13:49:35 +0200
From: Pavel Machek <pavel@....cz>
To: kernel list <linux-kernel@...r.kernel.org>, trivial@...nel.org,
Andrew Morton <akpm@...l.org>
Subject: [PATCH] init/do_mounts: better syntax description
Specify hex device number unambiquously.
Signed-off-by: Pavel Machek <pavel@...x.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists