*BSD News Article 74361


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!news.mathworks.com!hunter.premier.net!news1.erols.com!news.bconnex.net!news
From: jenera@jenera.com   (Brian Backland)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Reading DOS files
Date: 21 Jul 1996 15:43:36 GMT
Organization: Jenera Inc.
Lines: 34
Message-ID: <4stj78$1md@news.bconnex.net>
References: <4sjdhd$pmb@newsbf02.news.aol.com>
Reply-To: jenera@jenera.com   (Brian Backland)
NNTP-Posting-Host: router.jenera.com
X-Newsreader: IBM NewsReader/2 v1.2.5

In <4sjdhd$pmb@newsbf02.news.aol.com>, ssmala@aol.com (Ssmala) writes:
>Hi,
>
>I would like to know if there is any way to read DOS text files ( from
>floppy disks
>or from DOS partition ) on a FreeBSD system .
>Any help greatly appreciated
>
>Thanks
>Sahan 
>

Just learned how to do this myself, so I'll share it with you...
I first created a directory as a mount point.  I called the directory
'floppy', without the quotes of course (mkdir /floppy).  I put the
floppy disk in the the drive, which happens to be a 3.5" 1.44 meg diskette,
and issued the command
mount -t msdos /dev/fd0.1440 /floppy
You should now be able to access the floppy.

Cheers Brian

--------------------------------------------------------------------------
Brian Backland                      
jenera@jenera.com
http://www.jenera.com/                    
Jenera Inc.

--- === Standard Disclaimer === ------------------------------------------
The opinions expressed here are my own and may or may not represent the
opinion of my employer, or any company with which I am associated.
--------------------------------------------------------------------------