*BSD News Article 40261


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bruce.cs.monash.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!math.ohio-state.edu!howland.reston.ans.net!ix.netcom.com!netcom.com!mld
From: mld@netcom.com (Matthew Deter)
Subject: Re: Dont use mv on DOS fs
Message-ID: <mldD1GKnH.8Gq@netcom.com>
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
X-Newsreader: TIN [version 1.2 PL1]
References: <D0r6xD.B76@world.std.com> <3cmbaq$cvb@worak.kaist.ac.kr> <D0x728.FM3@ns1.nodak.edu>
Date: Tue, 27 Dec 1994 07:26:04 GMT
Lines: 27

Daniel Ortmann (ortmann@plains.NoDak.edu) wrote:

: Ditto for performing a "tar xzvf /mnt/tmp/freebsd/*", where the dos 
: partition is mounted on /mnt.  The answer there is to copy the files

Hmmm.  I restored about 200 Megs of DOS data from tape by mounting my
DOS disk from FreeBSD and writing it out.  This was months ago.  It
also included 70 Megs worth of Microstation install (which is pretty
fussy, being a large CADD program.)  It also included DOOM, Windows,
and piles of other stuff.  I run FreeBSD 1.1.5.1, with SCSI disks.

Now, using mv or rm is definitely a BAD idea on a DOS partition, but a
simple (not recursive) cp or tar xvf works well for me.  My DOS data
is on a seperate physical disk from my FreeBSD data (I dont' trust DOS
to live on the same disk with my real data) so that may have something
to do with it.

I do normally mount /dos read-only, but when I need to, I unmount and
remount /dos from single-user mode and do the copies right before
shutting down and switching to DOS.  I run chkdsk/f on DOS boot, and
have never had any trouble with this procedure.

-- 
   $$    Matthew Deter -- mld@netcom.com
  $$$$
 $$      "Whatever road I take, the guiding star is within me;  the guiding
  $$$$    star and the loadstone which point the way.  They point in but
     $$   one direction.  They point to me."
  $$$$
   $$                              -- from the novel _Anthem_ by Ayn Rand