Skip to content

Commit

Permalink
enable discard mount option by default in /etc/fstab
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos authored Jan 27, 2024
1 parent 6c84cfc commit 38c94d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chroot-script
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ EOF
case "${FILESYSTEM}" in
# errors=remount-ro is supported only by a few file systems
ext*|exfat|fat|jfs|nilfs2|vfat)
rootfs_mount_options=",errors=remount-ro"
rootfs_mount_options="discard,errors=remount-ro"
;;
esac

Expand Down

0 comments on commit 38c94d1

Please sign in to comment.