Re: devfs patch v3

John Looney (johnl@horizon.ie)
Tue, 13 Jan 1998 14:04:39 +0000


Ar Tue, Jan 13, 1998 at 11:20:23AM +0100, scriofa Steffen Grunewald:
> Then would would IMHO be most logical to have
>
> /dev/sd/c0b0t4l0s1
> /dev/st/c0b0t5
> /dev/scd/c0b0t6

I think the way solaris does it is fine. Why not keep with that ?

/dev/dsk/c0t1d3s4

for the partition on SCSI controller 0, SCSI 1, disk on LUN3, partition 4.
I'm a big fan of making linux more like better implementations of
commerical unixen. I hate coming home and going "cd /etc/default" or
"mount /dev/dsk/c0t5d0s0 /zip", and waiting 3 seconds for my brain to
recognise the brain fart ;)

Solaris also has (amongst others):

/dev/cua/ modems
/dev/dsk/ disks (inc. CDROM's)
/dev/fbs/ framebuffer - maybe with GGI coming, use /dev/graph ?
/dev/isdn/ maybe a /dev/net instead ?
/dev/md/ Should this be separate from /dev/dsk ?
/dev/printers/ As someone said, a /dev/misc, or just leave them in /dev ?
/dev/pts/ Anything with a lot of /dev/ entries should be moved out
/dev/rdsk/ Of course, linux has no raw disk ;)
/dev/rmt/ Magnetic tape
/dev/sound/
/dev/term/

It uses /dev/fd for file descriptors (seeing as we have /proc for that,
maybe floppy devices would be better served by /dev/fd). The /devices

AFAIK (correct me if wrong) but solaris doesn't really differenciate
between SCSI and IDE disks. I don't think we should have separate dirs for
SCSI and IDE either. The only real difference being the fact that IDE disk
don't have LUNs - /dev/dsk/c0d1s0 etc. should be fine for IDE.

Coo-eee, but changing the layout of all the devices would break so much
user mode stuff....what do other OSes do ?

Kate

-- 
 "I am Grey. I stand between the candle and the star.
    We are Grey. We stand between the darkness and the light."

John "Kate" Looney, Horizon Open Systems. Sun Microsystems distributor and Support center. Hotline: [+353 1 8055700] Web http://www.hos.horizon.ie/