Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP id AA820 ; Mon, 08 Feb 93 07:01:34 EST Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!darwin.sura.net!newsserver.jvnc.net!gmd.de!rrz.uni-koeln.de!unidui!du9ds4!prang From: prang@du9ds4.fb9dv.uni-duisburg.de (Juergen Prang) Newsgroups: comp.unix.bsd Subject: Re: [386bsd] pcfs hd problems Date: 5 Feb 93 16:19:53 GMT Organization: Universitaet Duisburg GH Lines: 32 Message-ID: <prang.728929193@du9ds4> References: <1993Feb5.093410@axion.bt.co.uk> NNTP-Posting-Host: du9ds4.fb9dv.uni-duisburg.de lessen@axion.bt.co.uk (Lee Essen) writes: [...pcfs related stuff deleted - can't say anything to this topic ] >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?? This version of Mtools require the offset parameter in /etc/mtools (the last parameter for an HD entry, giving the offset to the bootsector, where filesystem specific information is stored, that are used by Mtools) to be given in BYTES (only god knows why). Typically the first track on a (DOS-) HD is reserved, containing only the partition sector. Hence you have to count your sectors/track and multiply it with your sectorsize. This works for my one and only DOS partition. I don't know if this holds true for additional DOS partitions. I suspect some problems, if you have a large first partition, which requires a very large byte offset to a second partition (I didn't check the code for datatypes). [... stuff deleted ] Hope this helps Juergen -- Juergen Prang | prang@du9ds4.fb9dv.uni-duisburg.de University of Duisburg |******************************************** Electrical Engineering | Logic is a systematic method of coming Dept. of Dataprocessing | to the wrong conclusion with confidence