Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 1995 16:22:33 -0600 (CST)
From:      faulkner@mpd.tandem.com (Boyd Faulkner)
To:        dungan@utdallas.edu
Cc:        questions@FreeBSD.org
Subject:   Re: reading and writing DOS files
Message-ID:  <9503062222.AA12087@olympus>
In-Reply-To: <95Mar4.131112cst.21045@utdallas.edu> from "dungan@utdallas.edu" at Mar 4, 95 01:11:05 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Hello, 
> 
> I'm running FreeBSD 2.0, and I would like to:
> 
> 1) Read DOS text files from the /dev/fd0a 
> (the A: drive).
> 
> 2) Similarly, I would like to copy UNIX 
> text files to a diskette, and be able
> to read them in DOS.
> 
> Any information you could provide would be 
> appreciated!!
> 
> Thank you very much
> Andy Dungan
> dungan@utdallas.edu
> 
There are at least two ways.
1) use the mtools package.
2) mount the disk as a dos partition
mount_msdos /dev/fd0a /mnt
cd mnt
vi file 
...etc.

umount /mnt when done.

the mtools package should be available on ftp.freebsd.org.  It has been before.

Boyd

-- 
_______________________________________________________________________

 Boyd Faulkner                                  faulkner@isd.tandem.com 
_______________________________________________________________________



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