[parisc-linux] On the naming of discs

Grant Grundler grundler@cup.hp.com
Mon, 04 Dec 2000 13:58:46 -0800


Matthew Wilcox wrote:
> 
> As noted in the install documentation, Linux and HPUX name their
> discs differently.  HPUX follows the spec and numbers from 7 down to 0,
> Linux follows the PC aberration and numbers from 0 up to 7.

The problem is not how disks are enumerated. HPUX does it exactly the
same way - SCSI spec defines how the SCSI bus is to be walked.

The real problem is how devices are "named". Adding or removing devices may
cause existing devices to get new names when the system is rebooted.
And adding/removing devices on one SCSI bus will affect how devices
on other SCSI busses are named.

Even though HPUX's naming convention isn't perfect (eg /dev/rdsk/c1t2d3),
it works well for SCSI devices - regardless of type and when added.

grant

Grant Grundler
Unix Systems Enablement Lab
+1.408.447.7253