*BSD News Article 68018


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.hawaii.edu!ames!usenet.kornet.nm.kr!usenet.etri.re.kr!news.kreonet.re.kr!usenet.seri.re.kr!news.cais.net!news.mathworks.com!zombie.ncsc.mil!paladin.american.edu!news.ecn.uoknor.edu!news.ysu.edu!odin.oar.net!malgudi.oar.net!wqs1.ysi.com!kfurge
From: kfurge@wqs1.ysi.com (K.C. Furge)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: how do I use the floppy to copy DOS files
Date: 8 May 1996 15:21:33 GMT
Organization: YSI, Inc.
Lines: 17
Message-ID: <4mqe5t$mu4@wqs1.ysi.com>
References: <4mngpt$3jt@adcmail.adc.com>
Reply-To: kfurge@ysi.com
NNTP-Posting-Host: wqs1.ysi.com
X-Newsreader: TIN [version 1.2 PL2]

Michael A. Dorin (mad@adc.com) wrote:
: I know this is probably a silly question, but how do I copy files from
: the floppy drive (DOS files) onto the BSD file system?

Steps:

1.  su(1) to root.
2.  Create a directory to mount the floppy (i.e. /floppy).  You only have 
    to do this once.
3.  Select the proper floppy device to perform the mount.  The 
    following command will mount on a 1.44 meg A: floppy
        "mount_msdos /dev/fd0.1440 /floppy"
4.  Copy the files from it (i.e. cp /floppy/* /destination/directory)
5.  Unmount the drive: "umount /floppy"
6.  Your finished

- K.C. Furge