diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-11-05 17:16:04 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-11-05 17:16:19 +0100 |
commit | e2d128b128d59d1da29d452bd56f4d9ab33feeb4 (patch) | |
tree | ec1ff5c963fe055e8ecf930e8f1099c51c45df7e /package/base-files/src/etc/init.d/fs | |
parent | 603842fae6e82d808c3d75339aeb88b1ebed94a8 (diff) |
base-files: finetuning, verbose mount output
Diffstat (limited to 'package/base-files/src/etc/init.d/fs')
-rwxr-xr-x | package/base-files/src/etc/init.d/fs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/package/base-files/src/etc/init.d/fs b/package/base-files/src/etc/init.d/fs index 0e6401351..b6adb4ce4 100755 --- a/package/base-files/src/etc/init.d/fs +++ b/package/base-files/src/etc/init.d/fs @@ -35,16 +35,13 @@ for fs in $fstypes; do logger -t 'Filesystem' "checking $fs filesystem on $disk" fsck -p $disk >/dev/null 2>&1 } - logger -t 'Filesystem' "Mounting $disk to $mnt" mkdir -p $mnt > /dev/null 2>&1 if [ -b $disk ]; then - mount $disk > /dev/null 2>&1 + logger -t 'Filesystem' "Mounting $disk to $mnt" + mount $disk else logger -s -t 'Filesystem' "Skipping mounting $disk, device file missing" fi - if [ $? -ne 0 ];then - logger -s -t 'Filesystem' "Mounting $disk failed with $?" - fi else logger -s -t 'Filesystem' "No $procfs filesystem in kernel" fi |