Ian Zimmerman wrote: > On 2020-03-18 22:57, n952162 wrote: > >> Well, some new recognitions ... >> >> It turns out that those /dev/disk subdirectories don't necessarily have >> all the disk devices represented: >> >> 1. by-id/ >> 2. by-partuuid/ >> 3. by-path/ >> 4. by-uuid/ > There is also by-label, which you can reference from fstab like > > LABEL=foobar /home ext4 defaults ... > > If predictability and readability is the goal, I think using labels is > the best option, because you have complete control over them, unlike the > device IDs. For example: > > LABEL=my-machine-home-part /home ext4 defaults ... > > This doesn't solve your underlying timing problem, of course. Just apropos. >
Since I use LABEL for most of mine. Here is some real world examples. LABEL=root / ext4 defaults 0 1 LABEL=boot /boot ext2 defaults 0 2 LABEL=usr /usr ext4 defaults 0 2 LABEL=var /var ext4 defaults 0 2 Those are a few from my fstab. I actually use those and it works. Hope that helps. BTW, can a label be changed without redoing the file system? I seem to recall that being done during the file system creation. Dale :-) :-)