change f2fs mount options as recommended by 0n0w1c
Signed-off-by: Dan Johansen <strit@manjaro.org>
This commit is contained in:
parent
a8588acf56
commit
fd72b49ef5
|
|
@ -242,7 +242,7 @@ create_install() {
|
||||||
f2fs)
|
f2fs)
|
||||||
info "Adding f2fs support to system..."
|
info "Adding f2fs support to system..."
|
||||||
$NSPAWN $TMPDIR pacman -S f2fs-tools --noconfirm 1> /dev/null 2>&1
|
$NSPAWN $TMPDIR pacman -S f2fs-tools --noconfirm 1> /dev/null 2>&1
|
||||||
echo "LABEL=ROOT_MNJRO / f2fs compress=zstd,defaults,noatime 0 0" >> $TMPDIR/root/etc/fstab
|
echo "LABEL=ROOT_MNJRO / f2fs defaults,noatime,compress_algorithm=zstd 0 0" >> $TMPDIR/root/etc/fstab
|
||||||
sed -i '/^MODULES/{s/)/ f2fs)/}' $TMPDIR/root/etc/mkinitcpio.conf
|
sed -i '/^MODULES/{s/)/ f2fs)/}' $TMPDIR/root/etc/mkinitcpio.conf
|
||||||
$NSPAWN $TMPDIR mkinitcpio -P 1> /dev/null 2>&1
|
$NSPAWN $TMPDIR mkinitcpio -P 1> /dev/null 2>&1
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue