Re: [Feature Request] UUID in fstab.
Martin Husemann <[email protected]> Thu, 29 Mar 2018 20:46:12 +0200
| Newsgroups | gmane.os.netbsd.devel.installation |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Mar 29, 2018 at 09:56:06PM +0530, Utkarsh Anand wrote:
> 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.
Which UUID?
Also check fstab(5):
If the first field is of the form "NAME=<value>" then all the dk(4) wedge
partitions are searched for one that has a wedge name equal to <value>
and the device corresponding to it is selected.
Martin