*BSD News Article 39725


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!cs.utexas.edu!swrinde!pipex!uunet!fi.gs.com!qsss08!avraad
From: avraad@qssw04.qsss08.gs.com (David Avraamides)
Subject: Re: Dont use mv on DOS fs
In-Reply-To: Sdair@abel.kaist.ac.kr's message of 14 Dec 1994 08:45:13 GMT
Message-ID: <AVRAAD.94Dec19074904@qssw04.qsss08.gs.com>
Sender: news@qsss08.gs.com
Nntp-Posting-Host: qssw04
Organization: Goldman, Sachs & Co.
References: <D0r6xD.B76@world.std.com> <3cmbaq$cvb@worak.kaist.ac.kr>
Date: Mon, 19 Dec 1994 12:49:04 GMT
Lines: 36

>>>>> Minsung Kim writes:
# 
# Rob Snow (rsnow@world.std.com) wrote:
# : I hope that this isn't a FAQ.  When I use mv on a mounted DOS fs it hangs 
# : my system. (ie. mv /dos_c_drive/autoexec.bat /dos_c_drive/test.txt)
# 
# : Does anyone else have this problem?
# 
# Yes, I have the same problem.  When I mount my DOS filesystem on wd0h
# and copy some files from/to the mounted directories, the system almost
# always crashs.  (So I can't effectively backup my huge sound sample files
# in the 120MB-free ufs...  *sob*)
# 
# Is it a bug of mv command, or of the code which handles DOS filesystem?
# And anybody knows how to fix it?
# 

This may or may not be related, but a buddy of mine running FreeBSD2.0R was
doing a lot of copying, removing and moving files between BSD and the /dos
partition, and when he tried to reboot back into DOS his FAT was trashed
and he couldn't reboot. Norton's Disk utilities couldn't fix the problem
either. He had to reinstall DOS, with about a 20% loss of data. I quickly
changed my /dos partion to read-only in my fstab. But that creates other
problems, since under 2.0R I can no longer mount the floppy drive and I've
never been able to get my Colorado 250MB tape drive working.

Since I usually used the /dos partition to move stuff to and from work, I've
reverted to rz/sz and a modem. Slow, but safe.

-Dave
--
David Avraamides
Goldman, Sachs & Co.
(212) 357-1346
avraad@qsss08.gs.com