Re: devfs patch v3

Steffen Grunewald (steffen@gfz-potsdam.de)
Tue, 13 Jan 1998 11:20:23 +0100 (MET)


"ketil@ii.uib.no writes"
|>
|> I would prefer the directory structure to be named by type of device,
|> and have device names be the SCSI path. Like:
|>
|> /dev/disk/h0c0t4l0s1
|> /dev/tape/h0c0t5
|>
|> And perhaps
|>
|> /dev/cdrom/h0c0t2
|>
|> and maybe even
|>
|> /dev/disk/ide0a
|> /dev/floppy/0
|>

Then would would IMHO be most logical to have

/dev/sd/c0b0t4l0s1
/dev/st/c0b0t5
/dev/scd/c0b0t6

(I personally would prefer the controller/bus/target/lun/slice scheme)

and

/dev/id/b0l0s1 (primary IDE bus, master)
/dev/it/b1l1 (secondary IDE, slave)
/dev/icd/b0l1 (primary, slave)

(well, what corresponds correctly to the SCSI naming scheme ? perhaps
not _b_us, but _c_ontroller and _t_arget instead of _l_un ? feel free
to add your .02)

and why not

/dev/fd/0 ? /dev/ft/1 ?

What about the special fd devices one needs for formatting ???

Just a few incomplete thoughts ...

Steffen

-- 
name  : Steffen Grunewald         | disclaimer: My opinions are mine.
email : steffen(at)gfz-potsdam.de |        You can rent them. Ask me.
snail : GeoForschungsZentrum Potsdam, PB 2.5, Albert-Einstein-Straße,
	Telegrafenberg Haus G, D-14473 Potsdam, Germany
tel   : (+49)-331-288 1245        | quotation (Pablo Picasso):
fax   : (+49)-331-288 1266        |            Computers are useless.
URL   : http://www.gfz-potsdam.de |   They only can give you answers.