4 Jun
2010
4 Jun
'10
6:42 p.m.
Am 04.06.2010 19:48, schrieb Roman Kyrylych:
Booted fine under Xen using stock Arch kernel (via pv-grub), so I signoff x86_64.
Noticed the following:
+if ! /bin/mountpoint -q /dev; then + if grep -q devtmpfs /proc/filesystems 2>/dev/null; then + /bin/mount -n -t devtmpfs udev /dev -o mode=0755,size=10M,nosuid
1) grep should be /bin/grep
Shouldn't matter actually.
2) /dev/null does not exist at that time (if I understand correctly), so if grep prints something to stderr - it will create a /dev/null file (not sure if it is an issue though).
Well ... this is a corner-case, but it might not exist (in a common setup, it will exist). I'll fix that - we don't really need the 2>/dev/null anyway.