summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc/mdev/fs
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-13 12:09:49 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-13 12:10:08 +0100
commit26bc6c9fe57e4e516cd4f3a6d133ceea84a1a9c3 (patch)
tree60cf05fc5dbd04127cd297e9c1461bef6030f25f /package/base-files/src/etc/mdev/fs
parent5690ac325347bc61d8728005778cfad786e9c483 (diff)
finetune disk mount scripts
Diffstat (limited to 'package/base-files/src/etc/mdev/fs')
-rwxr-xr-xpackage/base-files/src/etc/mdev/fs4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/src/etc/mdev/fs b/package/base-files/src/etc/mdev/fs
index 678aadc8a..86c4cee2f 100755
--- a/package/base-files/src/etc/mdev/fs
+++ b/package/base-files/src/etc/mdev/fs
@@ -47,9 +47,9 @@ adk_mount() {
grep $procfs /proc/filesystems >/dev/null 2>&1
if [ $? -eq 0 ];then
logger -t mdev "Mounting $disk to $mnt"
- mount $mnt
+ mount $mnt 2>> /tmp/mount.err
if [ $? -ne 0 ]; then
- logger -t mdev "Mounting $disk failed"
+ logger -t mdev "Mounting $disk failed with $?"
fi
else
logger -t mdev "Required filesystem $procfs not available"