From: Harald Hoyer Date: Tue, 27 Mar 2012 14:00:28 +0000 (+0200) Subject: 95fstab-sys/mount-sys.sh: removed check for existing /dev X-Git-Tag: 018~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6dd4370eaa5a7e627bbd34535b6779eaa41ae44c;p=thirdparty%2Fdracut.git 95fstab-sys/mount-sys.sh: removed check for existing /dev there are a lot of filesystems, which do not need an actual device node --- diff --git a/modules.d/95fstab-sys/mount-sys.sh b/modules.d/95fstab-sys/mount-sys.sh index 8c9cb29fb..54415d1c2 100755 --- a/modules.d/95fstab-sys/mount-sys.sh +++ b/modules.d/95fstab-sys/mount-sys.sh @@ -11,10 +11,6 @@ fstab_mount() { info "Mounting from $1" while read _dev _mp _fs _opts _dump _pass _rest; do [ -z "${_dev%%#*}" ] && continue # Skip comment lines - if [[ ! "$_fs" =~ "nfs" ]] && [ ! -e "$_dev" ]; then - warn "Device $_dev doesn't exist, skipping mount." - continue - fi if [ "$_pass" -gt 0 ] && ! strstr "$_opts" _netdev; then fsck_single "$_dev" "$_fs" fi