Re: SCSI naming scheme: I've almost decided

Pavel Machek (pavel@atrey.karlin.mff.cuni.cz)
Tue, 13 Jan 1998 13:55:29 +0100


> Yep, I'm inclined to agree. I think I've decided on the SCSI disc
> naming scheme:
> /dev/dsk/sd_h0c0t0u0p2

Hmm, I do not like that scheme: Hard to read. I would like
sd0-0-0-0-2, but this is rather too many numbers with too same
separators in between.

I may have a solution:
sd0.0.0:0.2 seems good enough. If you place ':' in "right" place
(there's one such, separator between selecting disk and between
selection inside of disk), it is pretty logical, and pretty-easy-to
parse.

In most cases, there will be zeros all but the and and just before
':'. Seems good to me.

> 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).

Why put this devices in separate directory? Solves nothing as you have
many of them, anyway, so directory *IS* going to be large. I would
like them in /dev directly.

Pavel

-- 
Do *NOT* buy software, GNU software is better and free!		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+