Re: SCSI naming scheme: I've almost decided

Albert D. Cahalan (acahalan@cs.uml.edu)
Tue, 13 Jan 1998 15:11:15 -0500 (EST)


mingo writes:
> On Tue, 13 Jan 1998, Richard Gooch wrote:

>> Yep, I'm inclined to agree. I think I've decided on
>> the SCSI disc naming scheme:
>> /dev/dsk/sd_h0c0t0u0p2
>>
>> The "dsk" is compatible with Solaris, IRIX and HP-UX. The "sd" is
>> needed because /dev/dsk is going to have non-SCSI discs (IDE,
>> floppy, MD and so on).
>
> hm, whats the point in half-compatibility? The sd_ stuff (and the rest)
> will break Solaris scripts anyway i guess. Compatibility with _broken_
> naming schemes makes only sense if it's 100%, otherwise it's not too
> useful i guess. So why use 3-letter cryptic abbreviations, why not 'disk'
> simply ... or do you want cdrm and flpy and tp and mgntcdsk too? ;)

I agree, half-compatibility is broken. This would solve the problem:

/dev/dsk/c1t0d0s2 -> ../disk/sd_h1c1t0u0p2
/dev/dsk/c1t1d0s0 -> ../disk/scd_h1c1t1u0p0
/dev/dsk/c0t0d0s2 -> ../disk/ide_h0c0t0u0p2
/dev/dsk/c0t8d0s2 -> ../disk/fd_h0c0t8u0p2

It would be OK to just reserve /dev/dsk for future use.
I think it is important to give floppy+ide the c0* name,
unless Solaris/x86 has some other solution.