Le 17/06/2019 à 04:50, Felix Miata a écrit :
I recommend learning to use LABELs on all your filesystems. They are massively
easier for humans to work with than UUIDs. You get to assign them in accordance
with how your brain functions, e.g.:

# <file system>   <mount point>   <type>  <options>                     <dump> 
<pass>
LABEL=m12P01esp         /boot/efi       vfat    codepage=437                    
0 0
LABEL=m12p02swap                swap    swap    defaults                        
0 0
LABEL=m12p03usrlcl      /usr/local      ext4    noatime,data=ordered            
0 2
(...)
In case you're wondering about the above naming logic, m12 is simply the last
three characters of the disk's serial number, something to reduce possibility
of label duplication when swapping disks around, or cloning.

Adding a prefix or suffix to avoid label collisions is a good practice. However IMO a label should be associated to the contents, not to the container (disk or partition) at least on fixed disks. I do not care that a given filesystem is in partition X on disk Y, all that matters to me is that it contains the home directory for system 'foo' (for instance) -> foo_home.

Reply via email to