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