Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Oct 1998 08:47:18 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Jaime Bozza <wheelman@nuc.net>
Cc:        Andreas Klemm <andreas@klemm.gtn.com>, Mike Smith <mike@smith.net.au>, ulf@Alameda.net, current@FreeBSD.ORG
Subject:   RE: newfs problems, more information:
Message-ID:  <Pine.BSF.4.03.9810200845090.6354-100000@resnet.uoregon.edu>
In-Reply-To: <001101bdfba4$5a663d20$313d31cc@electron.nuc.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 19 Oct 1998, Jaime Bozza wrote:

> > > Don't put a filesystem on the 'c' partition.
> >
> > Why ? Never had trouble with this ...
> >
> > /dev/ccd0c     198327    92632    89829    51%    /obj
> > /dev/ccd1c     198327    25065   157396    14%    /news
> > /dev/ccd2c      99055    36883    54248    40%    /proxy
> > /dev/ccd3c    3400078  2886831   241241    92%    /home
> 
> Most importantly, how does one specify to *NOT* use 'c' with ccd?
> /etc/ccd.conf takes the format "ccd0" without [a-g] after it.  Once the ccd
> is configured, you mount /dev/ccd0c.  I don't know all the internal
> workings of ccd, but from the documentation, the 'c' slice is automatically
> used.

I think ccd is a special case.  if you want to specify a different
partition, you have to offset it by 240 blocks or so otherwise it stomps
the ccd disklabel.  newfsing the c partition seems to account for that in
some funny way.  We ran into this building a ccd on an OpenBSD box.  

> And if this is not the preferred way, how would one go about specifying a
> different slice?

In disklabel -e, just copy the 'c' line and change the c to h.  Then newfs
h.

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9810200845090.6354-100000>