Skip to contentSkip to conversation

init/do_mounts: better syntax description

PATCH New Pavel Machek 1 participant 1 message Aug 26, 2014 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 init/do_mounts: better syntax description

Specify hex device number unambiquously.

init/do_mounts.c +2 -1
index b6237c3..9f9d5e5 100644
@@ -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
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html