increase mount wait timeout to 10 seconds
parent
add1fbd465
commit
c5eabd4e3c
|
|
@ -799,7 +799,7 @@ fstab_create()
|
|||
blkid | grep -v "^/dev/loop" | grep -v "^/dev/zram" | cut -d: -f 1 | while read DEVICE; do
|
||||
FS="$(device_bestfs $DEVICE)"
|
||||
LABEL="$(basename $DEVICE)"
|
||||
OPTS="defaults,noatime,nofail,x-systemd.device-timeout=2"
|
||||
OPTS="defaults,noatime,nofail,x-systemd.device-timeout=10"
|
||||
|
||||
if [ "$FS" != "swap" -a "$FS" != "squashfs" -a "$DEVICE" != "$BOOTDEVICE" ]; then
|
||||
mkdir -p "$1/media/$LABEL"
|
||||
|
|
|
|||
Loading…
Reference in New Issue