Re: [Feature Request] UUID in fstab.

Utkarsh Anand <[email protected]> Fri, 30 Mar 2018 14:34:41 +0530
Newsgroups gmane.os.netbsd.devel.installation
Message-ID <[email protected]>

30.03.2018, 14:28, "S.P.Zeidler" <[email protected]>:
> Thus wrote Utkarsh Anand ([email protected]):
>
>>  I don't know for sure, but has there been any discussion on using UUID instead
>>  of partition names (like /dev/wd0a) for entries in /etc/fstab by default?
>>  Device names might change for people in due course of time (say, Adding a new
>>  HDD or SSD) and in such situations, it's a good idea to use UUID instead.
>
> Using UUIDs is a -terrible- idea when you can use e.g.:
> NAME=ftp-base /ftp ffs rw,log,noexec,nodev,noatime,nocoredump 1 2
> instead. We 'just' need to start supporting gpt in sysinst.
>
> UUIDs are seriously not human friendly. As soon as you cannot cut&paste,
> they are downright human hostile, especially if you have a lot
> of an element that use them.
>
> regards,
>         spz
Oh! I'd have loved it, if it were the case, at all. Alas, linux also 
has a command line utility blkid(8) to easily get the UUIDs:
https://linux.die.net/man/8/blkid