I think that it is just the numbers that are wrong as the text explicitly says that steps 4-6 must be executed "before" the previous code snippet (so 4-6 would actually be run before 1-3)
But it is indeed misleading. Guillermo El domingo, 8 de marzo de 2015, Harald Becker <[email protected]> escribió: > Hi ! > > I just stumbled about a disordering of operations in docs/mdev.txt: > > ---cut-here--- > Basic Use > ... > [0] mount -t proc proc /proc > [1] mount -t sysfs sysfs /sys > [2] echo /sbin/mdev > /proc/sys/kernel/hotplug > [3] mdev -s > > Alternatively, without procfs the above becomes: > [1] mount -t sysfs sysfs /sys > [2] sysctl -w kernel.hotplug=/sbin/mdev > [3] mdev -s > > Of course, a more "full" setup would entail executing this before the > previous > code snippet: > [4] mount -t tmpfs -o size=64k,mode=0755 tmpfs /dev > [5] mkdir /dev/pts > [6] mount -t devpts devpts /dev/pts > ---cut-here--- > > Look at the order of steps [3] and [4]. If you do "mdev -s" you populate > the current /dev. In step [4] then you mount a tmpfs over the populated dev > directory. This will result in a visible empty dev directory, as the > populated directory gets hidden by the mounted tmpfs. So the order of steps > should be 0, 1, 2, 4, 5, 6 then 3. > > Would be better someone changes the doc, as I'm not a native English > speaker. > > -- > Harald > > _______________________________________________ > busybox mailing list > [email protected] > http://lists.busybox.net/mailman/listinfo/busybox > -- Guillermo Rodriguez Garcia [email protected]
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
