From owner-freebsd-questions Tue Dec 21 4:55: 0 1999 Delivered-To: freebsd-questions@freebsd.org Received: from urquell.pilsnet.sunet.se (urquell.pilsnet.sunet.se [192.36.125.77]) by hub.freebsd.org (Postfix) with ESMTP id 8C92E14CAD for ; Tue, 21 Dec 1999 04:54:57 -0800 (PST) (envelope-from carbon-unit-1@urquell.pilsnet.sunet.se) Received: (from bd@localhost) by urquell.pilsnet.sunet.se (8.9.1/8.9.1) id NAA11838; Tue, 21 Dec 1999 13:54:49 +0100 (CET) (envelope-from carbon-unit-1@urquell.pilsnet.sunet.se) X-Authentication-Warning: urquell.pilsnet.sunet.se: bd set sender to carbon-unit-1@urquell.pilsnet.sunet.se using -f To: rene@xs4all.nl Cc: questions@FreeBSD.ORG, niels Bakker , technical@hippiesfromhell.org Subject: Re: CCD creation (2) References: <10553.991221@xs4all.nl> From: Bjorn Danielsson Date: 21 Dec 1999 13:54:49 +0100 In-Reply-To: rene@xs4all.nl's message of "Tue, 21 Dec 1999 13:17:21 +0100" Message-ID: Lines: 39 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG rene@xs4all.nl wrote: > Hello questions, > > I've come along a bit myself, but am still stuck, at another point > now. > > The docs > (http://www.freebsd.org/tutorials/formatting-media/x205.html) tell me to > > > # disklabel -e sd0c > change type to 4.2BSD > > But when I edit the table presented to me so that type="4.2BSD", > save it, and then re-run the disklabel utility (with identical > params), the type is listed as "SCSI" instead. > > Consequently, the next command fails; > > messenger:/dev # ccdconfig -v ccd0 32 0 /dev/wd0c /dev/wd1c > ccdconfig: ioctl (CCDIOCSET): /dev/ccd0c: Inappropriate file type or format > > Can someone please gimme a tip on how to solve this? Don't run disklabel on sd0c, which I assume is your SCSI boot disk. The disklabels you want to change are on wd0c and wd1c. And then it's the "fstype" column you change to "4.2BSD", not the "type" line. So you run disklabel twice: disklabel -e wd0c disklabel -e wd1c And both times change the "fstype" column for partition "c" to 4.2BSD. Don't touch anything else in the file. This should make ccdconfig happy. -- Björn Danielsson KTHNOC / Swedish University Network (mail me for my real e-mail address) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message