1 |
On Fri, Sep 1, 2017 at 11:10 AM, Grant <emailgrant@×××××.com> wrote: |
2 |
> |
3 |
> My new laptop uses /dev/nvme0n1 instead of /dev/sda which conflicts |
4 |
> with the script I use to manage about 12 similar laptops running |
5 |
> Gentoo. Is there a udev method for renaming the disk that will work |
6 |
> well with any USB disks that happen to also be attached? |
7 |
> |
8 |
> crw------- 1 root root 252, 0 Aug 31 11:34 /dev/nvme0 |
9 |
> brw-rw---- 1 root disk 259, 0 Aug 31 11:34 /dev/nvme0n1 |
10 |
> brw-rw---- 1 root disk 259, 1 Aug 31 11:34 /dev/nvme0n1p1 |
11 |
> brw-rw---- 1 root disk 259, 2 Aug 31 11:34 /dev/nvme0n1p2 |
12 |
|
13 |
Isn't so much easier to use labels? Those are automatically available |
14 |
on /dev/disk/by-label, and you can use them in basically any type of |
15 |
partition, including Windows (NTFS and vfat) and swaps. |
16 |
|
17 |
Regards. |
18 |
-- |
19 |
Dr. Canek Peláez Valdés |
20 |
Profesor de Carrera Asociado C |
21 |
Departamento de Matemáticas |
22 |
Facultad de Ciencias |
23 |
Universidad Nacional Autónoma de México |