Mount root fs with 'discard' option by default
On LVM thin provisioning this makes manual template's root fs compacting not needed anymore. Fixes QubesOS/qubes-issues#2479
This commit is contained in:
parent
0459ba6970
commit
c5c4572f80
@ -1,7 +1,7 @@
|
|||||||
# Accessible filesystems, by reference, are maintained under '/dev/disk'
|
# Accessible filesystems, by reference, are maintained under '/dev/disk'
|
||||||
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
|
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
|
||||||
#
|
#
|
||||||
/dev/mapper/dmroot / ext4 defaults,noatime 1 1
|
/dev/mapper/dmroot / ext4 defaults,discard,noatime 1 1
|
||||||
/dev/xvdb /rw auto noauto,defaults,discard 1 2
|
/dev/xvdb /rw auto noauto,defaults,discard 1 2
|
||||||
/rw/home /home none noauto,bind,defaults 0 0
|
/rw/home /home none noauto,bind,defaults 0 0
|
||||||
/dev/xvdc1 swap swap defaults 0 0
|
/dev/xvdc1 swap swap defaults 0 0
|
||||||
|
Loading…
Reference in New Issue
Block a user