From owner-freebsd-hackers  Mon Jun 29 17:47:34 1998
Return-Path: <owner-freebsd-hackers@FreeBSD.ORG>
Received: (from majordom@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id RAA16032
          for freebsd-hackers-outgoing; Mon, 29 Jun 1998 17:47:34 -0700 (PDT)
          (envelope-from owner-freebsd-hackers@FreeBSD.ORG)
Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA15873
          for <freebsd-hackers@freebsd.org>; Mon, 29 Jun 1998 17:46:55 -0700 (PDT)
          (envelope-from grog@freebie.lemis.com)
Received: (from grog@localhost)
	by freebie.lemis.com (8.9.0/8.9.0) id KAA04284;
	Tue, 30 Jun 1998 10:16:25 +0930 (CST)
Message-ID: <19980630101625.Y1880@freebie.lemis.com>
Date: Tue, 30 Jun 1998 10:16:25 +0930
From: Greg Lehey <grog@lemis.com>
To: Ian Kallen <ian@gamespot.com>, freebsd-hackers@FreeBSD.ORG
Subject: Re: ccd configuration
References: <Pine.BSF.3.95q.980629170014.985G-100000@mail.gamespot.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.91.1i
In-Reply-To: <Pine.BSF.3.95q.980629170014.985G-100000@mail.gamespot.com>; from Ian Kallen on Mon, Jun 29, 1998 at 05:14:57PM -0700
WWW-Home-Page: http://www.lemis.com/~grog
Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia
Phone: +61-8-8388-8286
Fax: +61-8-8388-8725
Mobile: +61-41-739-7062
Sender: owner-freebsd-hackers@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

On Monday, 29 June 1998 at 17:14:57 -0700, Ian Kallen wrote:
>
> So I've got these two identical SCSI disks, I newfs'd them and, with the
> requisite driver in the kernel, then put them together by saying
> cd /dev ; sh MAKEDEV ccd0
> ccdconfig ccd0 32 0 /dev/sd1s1e /dev/sd2s1e
> newfs -b 8192 -f 1024 /dev/ccd0c
> mount /dev/ccd0c /mnt
>
> Great.  That works.  I'm just curious why I needed to newfs the disks
> individually prior to ccd'ing them?  Or did I?

No.

> Is there any documentation beyond the man pages on the ins & outs of
> ccd?

Not that I know of.  It's pretty bare-bones.

> I guess I'm not clear on the boot time mounting... what do I put in
> my fstab?
>
> /dev/ccd0c /mnt ufs rw 2 2

I'd choose a better mount point if I were you.  /mnt is really
intended for temporary mounts.

> and then at mount time, /etc/ccd.conf will be referred to to figure out
> wtf ccd0c is?

Right.  If you look at /etc/rc, you'll see that just about the first
thing that the system does is to start ccd, even before mounting.

Greg
--
See complete headers for address and phone numbers
finger grog@lemis.com for PGP public key

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