Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 1999 13:51:25 +1030
From:      Greg Lehey <grog@lemis.com>
To:        rene@xs4all.nl, Mischa <mpeters3@lucent.com>, Bjorn Danielsson <carbon-unit-1@urquell.pilsnet.sunet.se>
Cc:        questions@FreeBSD.org, niels Bakker <p-parties@LISTS.TRANCE.ORG>, technical@hippiesfromhell.org
Subject:   Re: CCD creation (2)
Message-ID:  <19991222135125.A531@freebie.lemis.com>
In-Reply-To: <10553.991221@xs4all.nl>
References:  <10553.991221@xs4all.nl> <yqfhfhcfo86.fsf@urquell.pilsnet.sunet.se> <10553.991221@xs4all.nl> <19991221131330.G79529@high5.net> <10553.991221@xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991222135125.A531>