[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

device name (symlink) stability



After a reboot of a Debian/unstable machine, I got:

  /dev/cdrw -> sr1

while it was

  /dev/cdrw -> sr0

before the reboot. More precisely, the change in the lshw output:

      *-scsi:0
           physical id: 8c
           logical name: scsi2
           capabilities: emulated
         *-cdrom
              description: DVD-RAM writer
              product: DVD+-RW GTA0N
              vendor: HL-DT-ST
              physical id: 0.0.0
              bus info: scsi@2:0.0.0
              logical name: /dev/cdrom
-             logical name: /dev/cdrw
              logical name: /dev/dvd
              logical name: /dev/dvdrw
              logical name: /dev/sr0
              version: A1B0
              capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
              configuration: ansiversion=5 status=nodisc
      *-scsi:1
           physical id: 8d
           logical name: scsi3
           capabilities: emulated
         *-cdrom
              description: DVD-RAM writer
              product: DVD+-RW GHB0N
              vendor: HL-DT-ST
              physical id: 0.0.0
              bus info: scsi@3:0.0.0
+             logical name: /dev/cdrw
              logical name: /dev/sr1
              version: A1B1
              capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
              configuration: ansiversion=5 status=nodisc

Is it normal that the device names are not stable?

In particular, it is strange that all the symlinks point to sr0
except cdrw, which now points to sr1.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: