for my root partition in fstab I use these configuration:
defaults,noatime,commit=120
it’s a SSD EXT4 partition and I use my PC just for internet.
in your opinion fstab is well written in this way? or should I change something?
for my root partition in fstab I use these configuration:
defaults,noatime,commit=120
it’s a SSD EXT4 partition and I use my PC just for internet.
in your opinion fstab is well written in this way? or should I change something?
may enable TRIM schedule instead of the default continuous TRIM:
thanks for the answers
also I have not understand if the /boot/efi partition should be mounted or not
do I need it in the fstab file?
I’m back to the topic
the /boot/efi partition should be mounted in the fstab file?
If you are using grub and want to be able to use grub-install
then yes.
However, it will boot without it mounted if you would prefer not to.
If you are using systemd-boot then you should mount it since it will be needed whenever the kernel and/or initrds are updated.
I’m using systemd-boot
could I use the option noauto in FSTAB? will it be mounted when needed so?
Then you probably don’t even have a /boot/efi
if your systemd-boot was installed by EOS. In that case, your ESP would be mounted on /efi
.
I am pretty sure that noauto
just means it isn’t mounted. I don’t think that mounts it when needed.
You can use a systemd-automount to mount it on demand but…why? It is probably a partition on an internal drive. I would just mount it normally.
you are right
I’ve tried to use noauto and updated the kernel
but now it does not boot anymore…
Continuous trim is not the default, is it?
That post is over 2 years old…
Oops… didn’t notice, but I don’t remember it ever was the default.
I believe it was the default at one point in time.
It looks like it was removed in October of 2021.
Ah ok! I didn’t use endeavouros back then, and I thought we were talking about the “defaults” option including immediate trimming in general in Linux.