Re: /etc/fstab

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: Matt Graham via PLUG-discuss
Dátum:  
Címzett: Main PLUG discussion list
CC: Matt Graham
Tárgy: Re: /etc/fstab
On 2021-08-20 11:48, Michael via PLUG-discuss wrote:
> Please, will this work?


> LABEL=boot     /boot     ext4  defaults  0 0
> LABEL=rootdir  /         ext4  defaults  1 1
> LABEL=swap     swap      swap  pri=1     0 0
> LABEL=home     /home     ext4  defaults  0 1
> LABEL=opt      /opt      ext4  defaults  0 1
> LABEL=usrsrc   /usr/src  ext4  defaults  0 0

(snip, /proc et al are fine)

This will probably work, but it's not 100% correct. The fs_dump column
is set to 1 for / , and you are probably not using dump. The /
filesystem should have an fs_passno of 1, while other filesystems that
should be fscked at boot time should have an fs_passno of 2. So you
should change the 1s in /home and /opt to 2s.

Also, are you not using UEFI? I'm not sure how much longer the x86
will continue supporting BIOS boots. It also seems a bit odd to split
/opt and /usr/src into separate filesystems. I've only got 1.4G in /opt
(almost all Android studio) and 3.1G in /usr/src , and I've got 2
complete sets of kernel sources in the latter. (Should get rid of the
old one, it's not necessary any more.)

--
Crow202 Blog: http://crow202.org/wordpress
There is no Darkness in Eternity
But only Light too dim for us to see.
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss