home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6383 < prev    next >
Encoding:
Text File  |  1992-07-21  |  1.9 KB  |  56 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcsun!sun4nl!spider!sif!bjl
  3. From: bjl@sif.pttrnl.nl (Ben Lippolt)
  4. Subject: Re: Device names (was Re: ttys2 not responding)
  5. Message-ID: <bjl.711787581@freyr>
  6. Sender: usenet@spider.research.ptt.nl (USEnet News)
  7. Nntp-Posting-Host: sif
  8. Reply-To: B.J.Lippolt@research.ptt.nl
  9. Organization: PTT Research
  10. References: <711742044.F00069@remote.halcyon.com>
  11. Date: Wed, 22 Jul 1992 06:46:21 GMT
  12. Lines: 42
  13.  
  14. Rob.Levin@f217.n3802.z1.fidonet.org (Rob Levin) writes:
  15.  
  16. > TT>  /dev/hd0a is the first partition on the first drive
  17. > TT>  /dev/hd1a is the first partition on the second drive etc.
  18.  
  19. >You seem to be arguing that, because something is done a certain way in
  20. >DOS, it is anathema.  I'll be interested in hearing other, more
  21. >substantive, arguments.  ;-)
  22.  
  23. >Could you be more specific on the BSD convention for hard disk naming? 
  24. >And for partitions, if such a thing exists in the vanilla BSD
  25. >environment?
  26.  
  27. My experience with BSD is mainly SunOS. in SunOS the conventions are as
  28. follows:
  29.  
  30. Disk drives are numbered, starting with 0. SCSI disks are 'sd', SMD is
  31. 'xy', IPI is 'id', etc. So, your first SCSI drive is 'sd0'. However, there
  32. is no '/dev/sd0' device. Each disk can have up to 8 partitions, numbered
  33. 'a' to 'h'. 
  34.  
  35. The Sun conventions for a standalone system with one disk are that:
  36. sd0a   = /
  37. sd0b   = swap
  38. sd0c   = entine disk
  39. sd0d   = not used
  40. sd0e   = not used
  41. sd0f   = not used
  42. sd0g   = /usr
  43. sd0h   = /home
  44.  
  45. This is the way Sun distributes there disks. Of course, you can choose any
  46. other way to setup your disk. We have several disk where we use /dev/sd0a
  47. as the entire disk (ie. we use the whole disk as one partition).
  48.  
  49. Personally, I think it doesn't matter much ehether you call the disks
  50. 'sda1'..'sda8' or 'sd0a'..'sd0h'. Maybe we should stick to the *standard*
  51. (ie. what most /good/ unices use), but don't ask me what that standard is
  52. because I don't know much about SysV.
  53.  
  54.  
  55. Ben Lippolt
  56.