*BSD News Article 17700


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!hobbes.physics.uiowa.edu!math.ohio-state.edu!howland.reston.ans.net!gatech!prism!gt1679c
From: gt1679c@prism.gatech.EDU (scott)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Mtools still won't access HD : -(
Message-ID: <103237@hydra.gatech.EDU>
Date: 30 Jun 93 03:41:47 GMT
References: <9317917.18572@mulga.cs.mu.OZ.AU> <summer.741309166@mullian.ee.Mu.OZ.AU>
Organization: None, I'm not organized.
Lines: 36

In article <summer.741309166@mullian.ee.Mu.OZ.AU> summer@ee.mu.OZ.AU (Mark Summerfield) writes:
>Not long ago (yesterday, in fact) I wrote:
>
>>I gather it's possible to set up mtools so that I can access the dos
>>partition of my hard drive, as well as PC floppies. 
...
[mtools stuff deleted]

What would probably be easier would be to add a partition to the 
disklabel for your dos drive and then just mount it with pcfs.  I
don't know if it's in the FAQ now, I haven't read it for a while, 
but this is what I did:

1) run 'fdisk' and write down the dos partition info for the start 
   and size that it gives you.

2) disklabel -e -r /dev/<raw device>
   - Add 1 to the '# paritions:', and then add another line for the
     dos partition .  Mine went in after e: as
     f:   130977     63   unused      0     0     # (Cyl.    0*- 129*)

3) Add a line to /etc/fstab if you want it mounted automatically.
   Mine is:
   /dev/wd0f       /dos            pcfs    rw              1       2

   Otherwise, just mount -t pcfs /dev/<part> /<dir>


I have had no problems with it, except that the disk is mounted 
world read/writable and I don't see how to change that.

scott

---
|| scott miles 	
|| gt1679c@prism.gatech.edu