home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10518 < prev    next >
Encoding:
Text File  |  1992-09-11  |  3.1 KB  |  74 lines

  1. Newsgroups: comp.os.linux
  2. 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
  3. From: jwinstea@fenris.claremont.edu (Jim Winstead Jr.)
  4. Subject: Re: Major/Minor numbers
  5. Message-ID: <1992Sep12.013448.13445@muddcs.claremont.edu>
  6. Sender: news@muddcs.claremont.edu (The News System)
  7. Organization: Harvey Mudd College, WIBSTR
  8. References: <1992Sep11.025738.8738@athena.mit.edu> <richard.716248564@stat.tamu.edu>
  9. Date: Sat, 12 Sep 1992 01:34:48 GMT
  10. Lines: 62
  11.  
  12. In article <richard.716248564@stat.tamu.edu> richard@stat.tamu.edu (richard henderson) writes:
  13. >#----------------------------------------------------------
  14. ># common name    major,minor block/character    description
  15. >
  16. >ram       1, 0       b    ram disk
  17.        1, 1
  18.  
  19. That's what I've been told, anyways.  This has been wrong on every
  20. root disk since 0.95a - the next release will fix it.
  21.  
  22. >mem       1, 1    c    read kernel memory
  23.  
  24. This actually represents the physical memory, not just kernel memory.
  25.  
  26. ># There is apparent support for up to 4 floppy devices.
  27. ># This number appears to be hardwired in.
  28. ># I am open for suggestions for how to name some of the floppy devices.
  29.  
  30. See the 0.97.1 root disk or the MCC release for the specifics of the
  31. naming convention - basically it's fd[01][dhDH]{360,720,1200,1440}.
  32. Capital D/H means 3.5" drive, lower case is 5.25".
  33.  
  34. ># In the past, the drives have been numbered with the lowercase letters
  35. ># and the partitions numbered from 1.  I propose that the drives be
  36. ># numbered from 0 and the partitions be lettered from 'a'.  This makes
  37. ># writing /dev/MAKEDEV easier, and makes things friendlier for those
  38. ># moving between unix platforms.
  39.  
  40. Not really, since BSD has a completely bizarre mapping for the letters
  41. that doesn't fit well with the partitioning scheme on PC clones.  That
  42. would lead to even more confusion.
  43.  
  44. Trying to change what has now become standard is a *very bad idea*,
  45. since there is absolutely nothing wrong with the current scheme, and
  46. you'll just confuse everyone.  Those that were around for the /dev/hd#
  47. to /dev/hd[ab]# switch can back me up on that, I think.
  48.  
  49. The proposed change doesn't make /dev/MAKEDEV any easier at all - in
  50. fact, I think it'd make it harder.  Look at the /dev/MAKEDEV from the
  51. 0.97.1 root disk.  With letters=partitions, you'd have to do some
  52. fancy stuff, as opposed to the very straightforward numbers can be
  53. handled.  Remember, 'awk' isn't on the root disk so you can't use it
  54. in MAKEDEV... :)
  55.  
  56. >tty    5, A c        "the current tty"
  57.        0
  58.  
  59. >mouse    10, 0 c        bus mouse
  60. >psaux    10, 1 c        ps/2 mouse
  61.  
  62. Actually, the last draft of the device-naming standard I saw from the
  63. Linux Standards list had /dev/bm = 10,0.  I think this should be
  64. updated to:
  65.  
  66. bm-l    10, 0 c        logitech bus mouse
  67. bm-p    10, 1 c        ps/2 mouse
  68. bm-m    10, 2 c        microsoft bus mouse
  69. -- 
  70.                                     +      Jim Winstead Jr. (CSci '95)
  71.                                     |      Harvey Mudd College, WIBSTR
  72.                                     |   jwinstea@jarthur.Claremont.EDU
  73.                                     + or jwinstea@fenris.Claremont.EDU
  74.