Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 1997 11:57:30 +0200
From:      Nadav Eiron <nadav@barcode.co.il>
To:        "Sean J. Schluntz" <schluntz@pinpt.com>
Cc:        Doug White <dwhite@gdi.uoregon.edu>, questions@freebsd.org
Subject:   Re: Help With Partition Naming & Setup.
Message-ID:  <32E1F00A.7061@barcode.co.il>
References:  <Pine.BSF.3.91.970117100659.27966A-100000@gatekeeper.barcode.co.il> <Chameleon.853550168.List@journeyman>

next in thread | previous in thread | raw e-mail | index | archive | help
Sean J. Schluntz wrote:
> 
> > Partitions names in FreeBSD are pretty simple. The device name has the
> > following structure:
> > First, the device type (for disks - wd or sd).
> > Second, the device number (0,1, etc...).
> > Third, assuming you have slices (DOS partitions) on the disk (which you
> > will have), the letter 's' (for slice) and a number (starting from 1).
> > This means that the second primary partition on the first IDE disk will
> > be called wd0s2.
> > For FreeBSD partitions, that is followed by a single later designating
> > the BSD partition within the slice, but is not used for FAT partitions.
> 
> I have one follow up question on this, how does the / get a label of /dev/sd0a
> when the /usr and /var get labels of /dev/sd0s1f and /dev/sd0s1e on my single
> dedicated SCSI disk.

For historical reasons (I guess). You can only boot from the *first* BSD
slice on a disk, so the slice number of the root partition is irrelevant
(the only root partition you can use is the one on the first BSD slice).
This is from times when BSD didn't know about slices.

Nadav

> 
> -Sean
> ----------------------------------------------------------------------
> Sean J. Schluntz                                  <schluntz@pinpt.com>
> Manager, Support Services                        ph. 408.997.6900 x222
> PinPoint Software Corporation                    fx. 408.323.2300
> 6155 Almaden Expressway, Suite 100
> San Jose, CA.  95120                             http://www.pinpt.com/
> 
> Local Time Sent: 01/17/97 17:12:39
> ----------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32E1F00A.7061>