*BSD News Article 93308


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!newsfeeds.sol.net!news.maxwell.syr.edu!news.apfel.de!eerie.fr!cnusc.fr!ciril.fr!univ-angers.fr!jussieu.fr!fdn.fr!r2d2.fdn.org!sphynx.fdn.fr!causse
From: causse@sphynx.fdn.fr (Philippe Causse)
Subject: Re: More FS'es on HD??
X-Newsreader: TIN [version 1.2 PL2]
Organization: individual - paris - france
Message-ID: <E8FqCG.MI@sphynx.fdn.fr>
References: <5i1i9a$2dum@sheraton.asianconnect.com>
Date: Thu, 10 Apr 1997 18:36:16 GMT
Lines: 73
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38878

S.T.Chang (chang@narwhal.sns.com.sg) wrote:
: Dear All,

: 	I was trying to install FreeBSD on a 3.2GB HD. Rather than
: having a few large FS'es, I tried to create more smaller FS'es.
: Then partition layout was as follows.

: 	wd0s1 		DOS		150MB
: 	wd0s2	    EMPTY       	280MB
: 	wd0s3 	FreeBSD /		40MB
: 	wd0s4	Other FreeBSD slices	Rest of HD

Hemmm.... You're goin' the wrong way !
Just create ONE FreeBSD slice (please read the README file in the sysinstall
menu to learn the difference between slices and partitions) and populate it
with partitions.
You can have up to seven partitions  called a b d e f g h. The "c" partition
is reserved by the system and refers to the whole slice.
Typically, partition "a" is the root (/), "b" is the swap,
"c" the entire slice, and you can use the rest for whatever purpose you
whish.

: 	While subpartition /dev/wd0s4, I hited the limit after reaching
: /dev/wd0s4h. Subsequent FS creation through the sysinstall menu
: give me /dev/X.

Yeah, sure ! This is a BIOS limit, not a *BSD one !
BIOS only allows 4 partitions (sorry, SLICES in the BSD jargon) and there
is no workaroud. When DOS people never use more than two partions because 
the other are just subdivisions of the second one.

To draw a parallel with FreeBSD, M$-DOG logical drives are put in what is
called an "extended partition".

Here is a typical example:

Slot number		M$-DOG			*BSD
-----------		------			-----
0			Primary C:		/dev/wd0s1
1			Extended: E:, F:,..	/dev/wd0s5, /dev/wd0s6...
2			unused			/dev/wd0s3
3			non-dos			/dev/wd0s4
						part. a		/dev/wd0s4a
						part. b		/dev/wd0s4b
						...
						part h		/dev/wd0s4h

: 	Is there a way to get pass this problem?? Or I just have to
: have less FS'es which are larger in size?

As soon as you really understand *BSD's philosophy, everything will look bright
and shiny ! Just forget all of your M$-DOG background, read the manuals,
take your time and you'll get it right ;-).

: 	Thanks in advance.

Good luck,
Phil.

: Regards
: S.T.Chang
: -- 
: ==========================================================================
: Sang Thong CHANG                                Tel: 65-7785611
: Senior Systems Engineer (Unix Sys Admin)        Fax: 65-7785277
: Singapore Network Services Pte Ltd
: 75 Science Park Drive, #B1-01, Cintech II
: SINGAPORE 118255                                UNIX Forever!!
: --------------------------------------------------------------------------
-- 
-------------------------------------------------------------------
P. Causse			http://www.fdn.fr/~pcausse
4.4BSD/X11R6/Motif-2.0/C++	mailto:causse@sphynx.fdn.fr (UUCP)