You are not logged in.
I have searched for this topic but have not found black/white answers about it.
I believe it doesn't have a unique answer because it depends on each machine usage (server, desktop, etc).
I use a Linux PC as a Desktop (browsing, reading PDF's, online courses, etc) and my /etc/fstab has these options:
UUID=XXXX-XXXX /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
UUID=XXXXXXXXXXXXXXXXXXXXXXXXXXXX / ext4 rw,relatime 0 1
UUID=XXXXXXXXXXXXXXXXXXXXXXXXXXXX /home ext4 rw,relatime 0 2
UUID=XXXXXXXXXXXXXXXXXXXXXXXXXXXX /timeshift ext4 rw,relatime 0 2
UUID=XXXXXXXXXXXXXXXXXXXXXXXXXXXX none swap defaults 0 0
I also have another Linux machine running (24/7) a server and a Ethereum's Node (GETH as a execution node and LIGHTHOUSE as a consensus node) where the partitioning is more detailed (server and Node have all files at /var partition):
UUID=XXXX-XXXX /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
UUID=XXXXXXXXXXXXXXXXXXXXXXXXXXXX / ext4 rw,relatime 0 1
UUID=XXXXXXXXXXXXXXXXXXXXXXXXXXXX /home ext4 rw,relatime 0 2
UUID=XXXXXXXXXXXXXXXXXXXXXXXXXXXX /tmp ext4 defaults,nodev,nosuid,noexec,noatime 0 2
UUID=XXXXXXXXXXXXXXXXXXXXXXXXXXXX /timeshift ext4 rw,relatime 0 2
UUID=XXXXXXXXXXXXXXXXXXXXXXXXXXXX /var ext4 defaults,nodev,nosuid,noatime 0 2
/SWAP none swap defaults 0 0
Regarding the mount options: would you do anything different? Do you suggest any change?
Offline
Asking for these types of recommendations inevitably end up in the Topics Going Nowhere forum because there is never one "correct" answer. With Arch, the philosophy is: educate yourself (the fstab Wiki is detailed enough for that) and then try out for yourself what suits you best. Your configs look like 99.9% of standard mount configs. Does that mean they are "correct" or "optimized"? That all depends on your specific performance requirements.
Offline
I agree with twelveeighty this is headed Nowhere. However, before it gets there, it might be useful to say that, in addition to reading the fstab wiki, you will want to look at the page on solid state drives if you have any.
Last edited by cfr (2022-08-19 20:20:37)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline