From owner-freebsd-questions Wed Feb 28 13:42:10 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA15826 for questions-outgoing; Wed, 28 Feb 1996 13:42:10 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA15817 for ; Wed, 28 Feb 1996 13:42:08 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA09043; Wed, 28 Feb 1996 14:35:11 -0700 From: Terry Lambert Message-Id: <199602282135.OAA09043@phaeton.artisoft.com> Subject: Re: Copying files to DOS partitions ? To: navell@ix.netcom.com (FRED BENS) Date: Wed, 28 Feb 1996 14:35:11 -0700 (MST) Cc: questions@freebsd.org In-Reply-To: <199602281735.JAA18537@ix10.ix.netcom.com> from "FRED BENS" at Feb 28, 96 09:35:26 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk > I have installed BSD version 2.1 and am able to read the data stored on > an 8mm tape in tar format. I need to pass the data to a dos filesystem > where it can be processed and sent to a tester via a Pathworks network > to a VAX. Copying the files to the DOS formatted partition via : > "cp filename /dev/sd0s2" seems to be executing but the DOS programs do > not see the data . In fact ,it wipes out the known dos files on the > partition. I have used LINUX to do this sucessfully but I have had > other problems with it using the tar command with the same 8mm tape > drive. I have run out of ideas on what to try next and would appreciate > any assistance you can offer. You need to copy to the mounted FS, not the raw device! You are overwriting the first part of the disk, up to the file length! Alternately, if your OS doesn't support mounting DOS partitions (ie: it isn't FreeBSD or similar), then you need to get a copy of "mtools" and compile it for your system. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.