Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 1996 15:57:32 +0100 (MET)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        bugs@freebsd.org
Subject:   msdos brokennes and related subjects
Message-ID:  <199602221457.PAA21276@labinfo.iet.unipi.it>

next in thread | raw e-mail | index | archive | help
I am trying to work on the MSDOS partition on 2.1R. I have tried with
both mtools and the msdosfs.

MTOOLS:
-------
mtools does not support C: anymore (it used to in 1.1.5). I patched my
2.1R port of mtools with 1.1.5 patches, and it seems to work perfectly
(it does not use any system call, just reads the partition table).

If there is interest, I'd like to submit a patch to allow the support
of non-removable media.


MSDOSFS:
--------
As it has been said many times, msdosfs is known to be broken there,
and I have never been so brave to try this on my own machine...

Eventually I decide to set up a sacrificial system with two disks,
one pure FreeBSD, another pure MSDOS. I successfully mounted the
msdos partition, wrote some 40MB (a whole Windows95 tree, except
IO.SYS MSDOS.SYS and COMMAND.COM) on it, and the system was shut
down cleanly. Trying to reboot from the msdos system (it was
bootabl), surprise surprise, I got

	Invalid partition table

although booting from a floppy allowed me to see everything on the disk.
A subsequent FDISK /MBR did not help, still got the same message.

Is it possible that the MSDOSFS tries to access/modify the partition table,
even though it is not anymore part of the DOS slice ?

	Luigi
====================================================================
Luigi Rizzo                     Dip. di Ingegneria dell'Informazione
email: luigi@iet.unipi.it       Universita' di Pisa
tel: +39-50-568533              via Diotisalvi 2, 56126 PISA (Italy)
fax: +39-50-568522              http://www.iet.unipi.it/~luigi/
====================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602221457.PAA21276>