*BSD News Article 17635


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!cs.mu.OZ.AU!summer
From: summer@ee.mu.OZ.AU (Mark Summerfield)
Subject: Mtools still won't access HD : -(
Message-ID: <summer.741309166@mullian.ee.Mu.OZ.AU>
Sender: news@cs.mu.OZ.AU
Organization: Computer Science, University of Melbourne, Australia
References: <9317917.18572@mulga.cs.mu.OZ.AU>
Date: Mon, 28 Jun 1993 23:12:46 GMT
Lines: 35

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.  Could someone tell
>me: 1) where to get source for a current version of mtools, and 2) how
>to set it up so it'll do what I want.  Obviously, if the latter information
>is included with mtools installation notes or something, just tell me
>where to get it, and to RTFM once I do!!

Well, someone pointed me to sources in from-ref, which were, indeed, equipped
with instructions, which I followed.  I set up the entry for the hard drive
in /etc/mtools as:

C /dev/wd0d 16 0 0 0

(my DOS partition is first on the disk, so the whole disk partition, without
an offset should be OK, right?)  The zeros are as per the README file.  Now
I get "Probable non-DOS partition" errors when I try to access c: drive.
Looking at the source (init.c) it looks like this is an inevitable
consequence of having the geometry fields set to zero, but that's what
the instructions say to do!  I'm not game to make up a work-around, the
possible consequences are too horrible to contemplate!

Does anyone have this working?  (NetBSD, BTW, but I imagine 386BSD is the
same).

Mark.
          --------------------------------------------------------
              Mark Summerfield,  Photonics Research Laboratory
Department of Electrical and Electronic Engineering, University of Melbourne  
                ACSnet[AARN/Internet]: summer@ee.mu.oz[.au] 
          --------------------------------------------------------
library, n., a place with a large number of people, a slightly larger number
  of books, and a very small number of photocopiers, of which at any given
                   time at least 50% will be out of order.