If you have a standard floppy it will be called /dev/fd0 (A: in DOS), first
you need to mount the floppy drive into your file system, you use the mount
command for this.

# mount /dev/fd0 /mnt/floppy

If that gives you an error, you might have to tell mount that it is a FAT32
or Windows XX floppy, run the command

# mount -t vfat /dev/fd0 /mnt/floppy

You will probably have to be loged in as root to perform these actions.

The word `mount` is the command to run `/dev/fd0` is your floppy drive and
`/mnt/floppy` is a directory.  `/mnt/floppy` can be any (better if it is an
empty) directory.  On my system I personally like the `/flop` director.

Once the floppy is mounted, it can be access like a directory, every file
you copy, write, move, or delete out of the `/mnt/floppy` directory, when
the floppy is mounted in the directory, you will be actucally coping,
writing, moving and deleting from the floppy disk..

Don't ever eject the floppy manual before you unmount it, you could lose
data...

use the commands

`sync; sync`
`cd /`
`umount /mnt/floppy`

What this does is `sync; sync` this will make sure all data is wrote to the
floppy disk. `cd /` just changes you current directory from whereever you
are to the root directory, this step isn't really needed, but you can't un
mount a device will it is in use, and if you current directory is
/mnt/floppy, you will not be able to un mount it.

`umount /mnt/floppy` will un mount the floppy drive, you could also un mount
it will the command `unmount /dev/fd0`

To create a directory, the command is the same as DOS `mkdir [directory
name]`  To make a directory called "test" in the current directory use the
command `mkdir test` or to make the sub directory "test" under the temp
directory use the command `mkdir /tmp/test`

To mount files from the floppy to hard drive, mount the floppy then `cd` in
the directory where the floppy is mount

`cd /mnt/floppy`

run the command

`ls`

to List all the files in the directory, like the DOS dir command, actucally
dir might work, try it.  This basically shows you what files are on the
floppy disk.

Use the commands `mv` to move files and `cp` to copyfiles

say you want to move a file called test.txt from floppy to the /tmp
directory, use the commands

`cd /mnt/floppy`
`ls`
(output)
  "test.txt        test3.txt
    test2.txt     porn.gif"
`mv test.txt /tmp`

see, to copy the file

`cp test2.txt /tmp`

Hey, what is that porn doing in there, to delete a file use the command

`rm porn.gif`


Also an decent unix will have a decent online help system, these are know as
man(ual) pages.

run the command `man man` to learn more about them...

Here is some manual pages that could help you and they will explain things
clear than I can

man mount
man ls         (LiSt)
man cd       (Change Directory)
man mkdir  (MaKe DIRectory)
man cp        (CoPy)
man mv       (MoVe)
man rm        (ReMove)

Oh and since some of these commands can be kinda dangerous, you will have to
use them at your own risk.

Jack


----- Original Message -----
From: Congdon, Christopher <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 08, 1999 10:08 AM
Subject: Newbie from hell


> Help...
>
> I really need to go out and buy a Linux Book I'm sure... But in the
> meantime, could someone help me out with a couple of really simple
things...
>
> Access the floppy drive
> Create Directories on the Hard Drive
> Move files from the Floppy Drive to the Hard Drive
>
>
> I'm sure someone's got to be laughing at me for not having such basic
> information (It's actually kind of embarrassing...I'm a network engineer
for
> a living, and I can't copy a bunch of files from a floppy disk.... *Sigh*)
>
> Thanks a lot...
>

Reply via email to