Web lists-archives.com

Re: User rw Permissions on New Hard Drive




On Thu, Mar 07, 2019 at 01:49:42PM -0700, Cousin Stanley wrote:
David Wright wrote:
All that stuff in /dev/disk/ is just an ephemeral
bunch of convenient symbolic links, presumably conjured
up by udev or somesuch, if not the linux kernel

 But are they not accurate after boot
 for particular disks on a particular machine ?

Maybe. The LABEL= is parsed by mount, which uses the same logic/source for that as blkid. The /dev/disk stuff is actually the product of more indirection and another codebase--more likely to break than LABEL=. (Not that either is likely. So shortest is best. :D)