*BSD News Article 10784


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA668 ; Sat, 06 Feb 93 19:00:36 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!uwm.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!news.netmbx.de!Germany.EU.net!mcsun!uknet!axion!lessen
From: lessen@axion.bt.co.uk (Lee Essen)
Newsgroups: comp.unix.bsd
Subject: [386bsd] pcfs hd problems
Message-ID: <1993Feb5.093410@axion.bt.co.uk>
Date: 5 Feb 93 09:34:10 GMT
Sender: news@axion.bt.co.uk
Reply-To: lessen@axion.bt.co.uk (Lee Essen)
Organization: British Telecom Research Labs
Lines: 45


I have just installed the pcfs code and rebuilt my kernel, the system works
fine for floppies but fails with an error about the root directory not
being a multiple of the cluster size when used on a hard disk.

I have used the pcfs source (without HD support) posted by Guido van Rooij
no 20th November 92 and the patches for HD support posted by Paul Popelka on the 23rd November 92.

I have a Quantum 120MB drive which has the root (a) partition of about 10Meg
the swap (b) of 16Meg and (h) and /usr. 

There are two bios partitions on the disk, a 4Meg Dos partition and the
rest is the BSD partition. I've setup the BSD (e) partition in the
disklabel to map to the DOS section on the disk. (The word partition is
used too many times in this news item!!!)

The 'mount -t pcfs /dev/wd0e /pcfs' fails with the error above about
root directories and cluster sizes. 

I'm using the new mtools (with the /etc/mtools config file), and if I
try to use 'mdir c:' (with 'c' setup in the /etc/mtools as /dev/wd0e)
I get a 'proably not a dos disk' message. If I boot the PC with DOS the
dos partition is fine.

What am I doing wrong??

Also, on the same lines, on a Sun (and I assume other machines) you can
have an entry like...

	/dev/fd0c	/pcfs	pcfs ro,noauto   1  1

....in the fstab (note the noauto), this stops the device being mounted
at boot time but does allow the short....

	mount /pcfs

....command. I take it this is not supported in 386bsd. Is this a normal
bsd option? Should someone add it (me? - I think I could cope with that!).

It seems possible to edit the rc file and change the 'mount -a -t nonfs' to
a 'mount -a -t nonfs,nopcfs' but this is just a bit *tacky*.

Any info would be appreciated.

						Lee Essen.