*BSD News Article 35763


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!gateway.dircsa.org.au!cleese.apana.org.au!apanix.apana.org.au!miff
From: miff@apanix.apana.org.au (Michael Smith)
Newsgroups: comp.os.386bsd.questions
Subject: Re: labelling wd0 so as to mount it as PCFS
Date: 13 Sep 94 12:40:36 GMT
Organization: Apanix Public Access Unix, +61 8 373 5485 (5 lines)
Lines: 36
Message-ID: <miff.779460036@apanix.apana.org.au>
References: <miff.779378609@apanix.apana.org.au>
NNTP-Posting-Host: seldon.apanix.apana.org.au

miff@apanix.apana.org.au (Michael Smith) writes:

>Greetings peoples...

Talking to myself - very cultured 8)

>I have a disk prototype for the disk with two partitions : a and c. a matches
>the DOS layout, and c is the whole disk. 

>After this, every attempt to write/read/whatever a disklabel on this
>disk gives the message :
>can't read master boot record: Undefined errror: 0

>Is this a consequence of having set partition 'c' to the entire disk,
>rather than 'd'?

To answer my own question : yes, it is.  'c' should be the FreeBSD area of
the disk, 'd' should be the whole disk.

Also, something the manual page misses out on :
Normally, the first 32 sectors of a disk are unused, it says.  In fact, 
if you have more than 32 sectors on a cylinder, that number is the 
unused value - so that if you're running a drive in 63-sector translation
mode, the offset value for the to-be-dos partition is the number of
sectors per track, ie 63.

>--
># mike smith : miff@apanix.apana.org.au - Silicon grease monkey        #
># "The question 'why are the fundamental laws of nature mathematical'  #
># then invites the trivial response 'because we define as fundamental  #
># those laws which are mathematical'". Paul Davies, _The_Mind_of_God_. #
--
# mike smith : miff@apanix.apana.org.au - Silicon grease monkey        #
# "The question 'why are the fundamental laws of nature mathematical'  #
# then invites the trivial response 'because we define as fundamental  #
# those laws which are mathematical'". Paul Davies, _The_Mind_of_God_. #