*BSD News Article 23123


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!uunet!nih-csl!postman
From: crtb@helix.nih.gov (Chuck Bacon)
Subject: Can't mount PCFS
Message-ID: <1993Nov1.145100.26813@alw.nih.gov>
Sender: postman@alw.nih.gov (AMDS Postmaster)
Organization: National Institutes of Health, Bethesda
Date: Mon, 1 Nov 1993 14:51:00 GMT
Lines: 31

I've learned several things about DOS partitions; for instance that
on the first disk, the DOS partition begins one TRACK into the disk,
and on the second disk it begins one CYLINDER in.  But knowing that
doesn't really help.

I can't mount PCFS from FreeBSD.  My disklabel for wd1 (the one I'm
most interested in) says that the c and d partitions are at offset 0,
which I think is right.  But mount_pcfs complains that "the root
directory is not a multiple of cluster size in length."  What the
heck does that mean?  I've got a good usable Extended-DOS partition,
and two good BSD partitions on wd1, but I can't get to one from the
other.

The disk is a Quantum, 245 MB, 31 sectors/track, 16 tracks/cylinder,
967 cylinders (as I remember).  Therefore the DOS extended partition
(according to the DOS partition table) starts at cyl.1, track 0, sec.1
(since they count Fortran-style for sectors but C-style for cyls. and
tracks).  That would place the DOS partition at offset 16x31=496.
I experimented with a partition at that offset too, but still couldn't
mount PCFS.

Does an Extended DOS partition have the same structure as the Primary
DOS partition?  Or am I venturing into unsupported waters trying to
PCFS-mount a secondary DOS partition?

Boy, do I wish somebody could point me at a FAQ regarding disklabels
and their relation to DOS partitions!

--
	Chuck Bacon - crtb@helix.nih.gov ( alas, not my 3b1 )-:
		ABHOR SECRECY	-   DEFEND PRIVACY