From owner-freebsd-questions Tue Dec 21 19:21:51 1999 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id C4A9F14E63 for ; Tue, 21 Dec 1999 19:21:46 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id NAA00672; Wed, 22 Dec 1999 13:51:25 +1030 (CST) Date: Wed, 22 Dec 1999 13:51:25 +1030 From: Greg Lehey To: rene@xs4all.nl, Mischa , Bjorn Danielsson Cc: questions@FreeBSD.org, niels Bakker , technical@hippiesfromhell.org Subject: Re: CCD creation (2) Message-ID: <19991222135125.A531@freebie.lemis.com> References: <10553.991221@xs4all.nl> <10553.991221@xs4all.nl> <19991221131330.G79529@high5.net> <10553.991221@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <10553.991221@xs4all.nl> WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF 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-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tuesday, 21 December 1999 at 13:17:21 +0100, 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. It looks as if you're changing in the wrong place. > Consequently, the next command fails; Of course. Consider the following disk label: > # /dev/rda1c: > type: SCSI This is the type of disk. You can't change it. > disk: sd0s1 > label: > flags: > bytes/sector: 512 > sectors/track: 51 > tracks/cylinder: 19 > sectors/cylinder: 969 > cylinders: 1211 > sectors/unit: 1173930 > rpm: 3600 > interleave: 1 > trackskew: 0 > cylinderskew: 0 > headswitch: 0 # milliseconds > track-to-track seek: 0 # milliseconds > drivedata: 0 > > 8 partitions: These are the partitions. You can change fstype. > # size offset fstype [fsize bsize bps/cpg] > a: 81920 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 84*) This could be used for a ufs file system or (stupidly) for ccd. > b: 160000 0 swap # (Cyl. 0 - 165*) This can be used for swap. > c: 1173930 0 unused 0 0 # (Cyl. 0 - 1211*) This is the whole disk and *must* be unused. > e: 850090 160000 4.2BSD 0 0 0 # (Cyl. 165*- 1042*) Another ufs or ccd file system. > h: 850090 160000 vinum # (Cyl. 165*- 1042*) A vinum drive. Note that it's the same space as partition e. On Tuesday, 21 December 1999 at 13:13:30 +0100, Mischa wrote: > Hi Rene, > > Stop waisting time on ccd, use vinum instead. He still needs to know how to set the partition type. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message