home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!usc!elroy.jpl.nasa.gov!news.claremont.edu!fenris!jwinstea
- From: jwinstea@fenris.claremont.edu (Jim Winstead Jr.)
- Subject: Re: Major/Minor numbers
- Message-ID: <1992Sep12.013448.13445@muddcs.claremont.edu>
- Sender: news@muddcs.claremont.edu (The News System)
- Organization: Harvey Mudd College, WIBSTR
- References: <1992Sep11.025738.8738@athena.mit.edu> <richard.716248564@stat.tamu.edu>
- Date: Sat, 12 Sep 1992 01:34:48 GMT
- Lines: 62
-
- In article <richard.716248564@stat.tamu.edu> richard@stat.tamu.edu (richard henderson) writes:
- >#----------------------------------------------------------
- ># common name major,minor block/character description
- >
- >ram 1, 0 b ram disk
- 1, 1
-
- That's what I've been told, anyways. This has been wrong on every
- root disk since 0.95a - the next release will fix it.
-
- >mem 1, 1 c read kernel memory
-
- This actually represents the physical memory, not just kernel memory.
-
- ># There is apparent support for up to 4 floppy devices.
- ># This number appears to be hardwired in.
- ># I am open for suggestions for how to name some of the floppy devices.
-
- See the 0.97.1 root disk or the MCC release for the specifics of the
- naming convention - basically it's fd[01][dhDH]{360,720,1200,1440}.
- Capital D/H means 3.5" drive, lower case is 5.25".
-
- ># In the past, the drives have been numbered with the lowercase letters
- ># and the partitions numbered from 1. I propose that the drives be
- ># numbered from 0 and the partitions be lettered from 'a'. This makes
- ># writing /dev/MAKEDEV easier, and makes things friendlier for those
- ># moving between unix platforms.
-
- Not really, since BSD has a completely bizarre mapping for the letters
- that doesn't fit well with the partitioning scheme on PC clones. That
- would lead to even more confusion.
-
- Trying to change what has now become standard is a *very bad idea*,
- since there is absolutely nothing wrong with the current scheme, and
- you'll just confuse everyone. Those that were around for the /dev/hd#
- to /dev/hd[ab]# switch can back me up on that, I think.
-
- The proposed change doesn't make /dev/MAKEDEV any easier at all - in
- fact, I think it'd make it harder. Look at the /dev/MAKEDEV from the
- 0.97.1 root disk. With letters=partitions, you'd have to do some
- fancy stuff, as opposed to the very straightforward numbers can be
- handled. Remember, 'awk' isn't on the root disk so you can't use it
- in MAKEDEV... :)
-
- >tty 5, A c "the current tty"
- 0
-
- >mouse 10, 0 c bus mouse
- >psaux 10, 1 c ps/2 mouse
-
- Actually, the last draft of the device-naming standard I saw from the
- Linux Standards list had /dev/bm = 10,0. I think this should be
- updated to:
-
- bm-l 10, 0 c logitech bus mouse
- bm-p 10, 1 c ps/2 mouse
- bm-m 10, 2 c microsoft bus mouse
- --
- + Jim Winstead Jr. (CSci '95)
- | Harvey Mudd College, WIBSTR
- | jwinstea@jarthur.Claremont.EDU
- + or jwinstea@fenris.Claremont.EDU
-