From: Harald Hoyer Date: Wed, 15 Feb 2012 14:40:04 +0000 (+0100) Subject: 99base/init: removed redirection of mount errors to /dev/null X-Git-Tag: 016~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dee929cded32500237fb9dc4d0609e9bd4629e03;p=thirdparty%2Fdracut.git 99base/init: removed redirection of mount errors to /dev/null --- diff --git a/modules.d/99base/init b/modules.d/99base/init index f1808d0de..4d0a2a25e 100755 --- a/modules.d/99base/init +++ b/modules.d/99base/init @@ -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