On Fri, 1 Sep 2017 09:10:13 -0700 Grant wrote: > My new laptop uses /dev/nvme0n1 instead of /dev/sda which conflicts > with the script I use to manage about 12 similar laptops running > Gentoo. Is there a udev method for renaming the disk that will work > well with any USB disks that happen to also be attached?
Yes, you can write an udev rule to create any names or symlinks you want on any events selected by triggers. See http://www.reactivated.net/writing_udev_rules.html and udev docs. Best regards, Andrew Savchenko
pgpzaY5zG6AW0.pgp
Description: PGP signature