Floppy Drive again
Ok So I've set up an old PC with a copy of
Redhat 6.0 I found at work ....I took an Intro
to Unix course so I can move around at command
prompt ...the course covered real basics like vi
sed grep ls etc ...we did not get into hardware/network
I'm on Roadrunner ....and I've set up
up the network card with DHCP ...and now
I need to get to/copy a RR Configuaration file
from a floppy and I'll be damned if I can't figure
out how to do that...I've been on DOS since
1984 and for the life of me I can't figure it out
I'm gathering my floppy is just another device
and during boot up it looks like its fda1 and
that it resides in /dev
so my questions are exactly what do I do at
command line prompt
my guess is to cd to /dev/fd01 or something to that effect
or I'm wondering if I can cd to the directory I want the
file to end up in a type cp /dev/fd01/<flename> ?
many thanks for any help.
You went on a Unix course and they didn't even tell you how to access the floppy drive? Man, I'd get my money back!
Anything that is found under /dev is the device. Except under certain circumstances, you do not want to access it directly like this. Here's what you should do:
Move into the dir /mnt
Check if there's a subdir called floppy
Try typing mount /mnt/floppy
If all works well, you should find that the floopy light flicks, the drive wirrs and nothing is printed to the screen. Now, move into the floppy subdir and list the stuff there (ls). The file(s) should be there. If not, then you have a problem with something called your fstab, but that's easily fixed. First of all, do the above and see if it works.
Oh, a word of warning: You will be able to eject the floppy, but before you do so you MUST type umount /mnt/floppy. There should be a how-to somewhere on mounting/umounting stuff, but if you can't find it, then just type man mount (or man fstab).
|All times are GMT -5. The time now is 04:42 PM.|