Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 1997 19:11:25 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Brian Freeman <bef126@psu.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Floppy Drive
Message-ID:  <Pine.BSF.3.96.970722190953.2770A-100000@localhost>
In-Reply-To: <33D555DD.69BC@psu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Jul 1997, Brian Freeman wrote:

> Hello:
> 
> Using Windows 95, I copied a file off the packages collection from the
> FreeBSD server.  I saved it to a floppy disk and now want to copy it to
> FreeBSD to install it.  I booted up FreeBSD and tried this:
> cp /dev/fd0 /home/myname
> The copy command places a file called fd0 in my home dirrectory. I tried
> to rename the file fd0 to the name of the file it was supposed to copy.
> I tried to unzip it and nothing happened.  I'm not sure what it coppied.

You probably copied the device special file.  If you want to access the
files on a disk, you need to mount it first. 

For a MS-DOS formatted disk, do the following as root:

mount -t msdos /dev/fd0 /mnt

The files will appear at /mnt as the root of the disk.

When you're done, do

umount /mnt

before ejecting the disk.  

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major
Spam routed to /dev/null by Procmail    | Death to Cyberpromo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970722190953.2770A-100000>