mirror of
https://github.com/dracutdevs/dracut.git
synced 2024-10-28 18:55:32 +03:00
95fstab-sys/mount-sys.sh: removed check for existing /dev
there are a lot of filesystems, which do not need an actual device node
This commit is contained in:
parent
0441230c51
commit
6dd4370eaa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user