]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
99base/init: removed redirection of mount errors to /dev/null
authorHarald Hoyer <harald@redhat.com>
Wed, 15 Feb 2012 14:40:04 +0000 (15:40 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 15 Feb 2012 14:46:24 +0000 (15:46 +0100)
modules.d/99base/init

index f1808d0ded5cd8ccfde167190f49778c74e57214..4d0a2a25ed84bbf6cd814e7e8336ced41a61a7b2 100755 (executable)
@@ -112,7 +112,7 @@ if [ "$RD_DEBUG" = "yes" ]; then
 fi
 
 if ! ismounted /dev; then
-    mount -t devtmpfs -o mode=0755,nosuid devtmpfs /dev >/dev/null 2>&1
+    mount -t devtmpfs -o mode=0755,nosuid devtmpfs /dev >/dev/null 
 fi
 
 # prepare the /dev directory
@@ -123,17 +123,17 @@ fi
 
 if ! ismounted /dev/pts; then
     mkdir -m 0755 /dev/pts
-    mount -t devpts -o gid=5,mode=620,noexec,nosuid devpts /dev/pts >/dev/null 2>&1
+    mount -t devpts -o gid=5,mode=620,noexec,nosuid devpts /dev/pts >/dev/null 
 fi
 
 if ! ismounted /dev/shm; then
     mkdir -m 0755 /dev/shm
-    mount -t tmpfs -o mode=1777,nosuid,nodev tmpfs /dev/shm >/dev/null 2>&1
+    mount -t tmpfs -o mode=1777,nosuid,nodev tmpfs /dev/shm >/dev/null 
 fi
 
 if ! ismounted /run; then
     mkdir -m 0755 /newrun
-    mount -t tmpfs -o mode=0755,nosuid,nodev tmpfs /newrun >/dev/null 2>&1
+    mount -t tmpfs -o mode=0755,nosuid,nodev tmpfs /newrun >/dev/null 
     cp -a /run/* /newrun
     mount --move /newrun /run
     rm -fr /newrun