[arch-projects] [PATCH] [mkinitcpio] Remove early redirection 2>/dev/null such node does not exists.
30 Aug
2011
30 Aug
'11
12:24 a.m.
An empty file will be created in any case, does not cause any harm, but for correctness. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> --- init | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/init b/init index 8c8709c..11773b1 100644 --- a/init +++ b/init @@ -9,7 +9,7 @@ busybox --install -s mkdir -p /new_root mount -t proc proc /proc -o nosuid,noexec,nodev mount -t sysfs sys /sys -o nosuid,noexec,nodev -if grep -q devtmpfs /proc/filesystems 2>/dev/null; then +if grep -q devtmpfs /proc/filesystems ; then mount -n -t devtmpfs udev /dev -o mode=0755,size=10M,nosuid devtmpfs_mounted=1 else -- 1.7.6
4828
Age (days ago)
4828
Last active (days ago)
0 comments
1 participants
participants (1)
-
Gerardo Exequiel Pozzi