Re: [gentoo-user] Rename /dev/nvme0n1 to /dev/sda

2017-09-04 Thread Grant
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?

Re: [gentoo-user] Rename /dev/nvme0n1 to /dev/sda

2017-09-04 Thread Mike Gilbert
On Mon, Sep 4, 2017 at 11:00 AM, 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

Re: [gentoo-user] Rename /dev/nvme0n1 to /dev/sda

2017-09-04 Thread J. Roeleveld
On 4 September 2017 17:00:30 GMT+02:00, 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

Re: [gentoo-user] Rename /dev/nvme0n1 to /dev/sda

2017-09-04 Thread Grant
>> 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? > >

Re: [gentoo-user] Rename /dev/nvme0n1 to /dev/sda

2017-09-04 Thread Grant
>> I would suggest you utilize the existing symlinks in one of the >> /dev/disk/ sub-directories, or create some udev rules to create your >> own symlinks based on whatever metadata you wish. I would also suggest >> you read the udev(7) manual page. >> > > ++ > > Labels are the most obvious

Re: [gentoo-user] Rename /dev/nvme0n1 to /dev/sda

2017-09-03 Thread Canek Peláez Valdés
On Mon, Sep 4, 2017 at 6:26 AM, J. Roeleveld wrote: > On 3 September 2017 20:11:51 GMT+02:00, "Canek Peláez Valdés" < can...@gmail.com> wrote: [ ... ] > >The label by itself works at boot since it's just another kernel > >parameter; > >for example in my latop (that uses NVME,

Re: [gentoo-user] Rename /dev/nvme0n1 to /dev/sda

2017-09-03 Thread J. Roeleveld
On 3 September 2017 20:11:51 GMT+02:00, "Canek Peláez Valdés" wrote: >On Sun, Sep 3, 2017 at 7:59 PM, 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

Re: [gentoo-user] Rename /dev/nvme0n1 to /dev/sda

2017-09-03 Thread Rich Freeman
On Sun, Sep 3, 2017 at 9:26 PM, Mike Gilbert wrote: > > I would suggest you utilize the existing symlinks in one of the > /dev/disk/ sub-directories, or create some udev rules to create your > own symlinks based on whatever metadata you wish. I would also suggest > you read

Re: [gentoo-user] Rename /dev/nvme0n1 to /dev/sda

2017-09-03 Thread Mike Gilbert
On Sun, Sep 3, 2017 at 6:41 PM, 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

Re: [gentoo-user] Rename /dev/nvme0n1 to /dev/sda

2017-09-03 Thread Grant
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? >>> >>> I'm not

Re: [gentoo-user] Rename /dev/nvme0n1 to /dev/sda

2017-09-03 Thread Mike Gilbert
On Sun, Sep 3, 2017 at 2:11 PM, 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

Re: [gentoo-user] Rename /dev/nvme0n1 to /dev/sda

2017-09-03 Thread Canek Peláez Valdés
On Sun, Sep 3, 2017 at 7:59 PM, 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

Re: [gentoo-user] Rename /dev/nvme0n1 to /dev/sda

2017-09-03 Thread Grant
>> 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? > > I'm not certain what

Re: [gentoo-user] Rename /dev/nvme0n1 to /dev/sda

2017-09-03 Thread Grant
>> 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? >> >> crw--- 1 root

Re: [gentoo-user] Rename /dev/nvme0n1 to /dev/sda

2017-09-02 Thread Mike Gilbert
On Fri, Sep 1, 2017 at 12:10 PM, 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

Re: [gentoo-user] Rename /dev/nvme0n1 to /dev/sda

2017-09-02 Thread Canek Peláez Valdés
On Fri, Sep 1, 2017 at 11:10 AM, 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

Re: [gentoo-user] Rename /dev/nvme0n1 to /dev/sda

2017-09-02 Thread Andrew Savchenko
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

Re: [gentoo-user] Rename /dev/nvme0n1 to /dev/sda

2017-09-01 Thread R0b0t1
On Fri, Sep 1, 2017 at 11:10 AM, 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

[gentoo-user] Rename /dev/nvme0n1 to /dev/sda

2017-09-01 Thread Grant
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? crw--- 1 root root 252, 0 Aug 31