do not add zram disks to fstab
parent
b407aed085
commit
da725ee880
|
|
@ -803,7 +803,7 @@ fstab_create()
|
||||||
|
|
||||||
echo >> $FSTAB
|
echo >> $FSTAB
|
||||||
|
|
||||||
blkid | grep -v "^/dev/loop" | cut -d: -f 1 | while read DEVICE; do
|
blkid | grep -v "^/dev/loop" | grep -v "^/dev/zram" | cut -d: -f 1 | while read DEVICE; do
|
||||||
FS="$(device_bestfs $DEVICE)"
|
FS="$(device_bestfs $DEVICE)"
|
||||||
LABEL="$(basename $DEVICE)"
|
LABEL="$(basename $DEVICE)"
|
||||||
OPTS="defaults,noatime,nofail,x-systemd.device-timeout=2"
|
OPTS="defaults,noatime,nofail,x-systemd.device-timeout=2"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue