Hi,

is there no automount in rh7.2 that able using floppy, cdrom drive
without explicitly mount these ones ?
Example, I do
ls /etc/fd0/myFile 

or 

cat /etc/fd0/myFile > mySecondFile

and that's quite OK...
(hmm' don't remeber if /etc or /dev...don't use my new OS
for the moment...)
ism

-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de Ben Logan
Envoye : jeudi 14 fevrier 2002 12:32
A : [EMAIL PROTECTED]
Objet : Re: how to access drive A and CDROD and TAPE from Command line


On Wed, Feb 13, 2002 at 11:59:09AM -0500, Jianping Zhu wrote:
> how to access drive A and CDROD and TAPE from Command line.
> Thanks

For drive A:
Under Linux, floppy drive "A" is /dev/fd0.  If your Redhat setup is
pretty standard, all you should have to do is (with a disk in the
drive) type

$ mount /mnt/floppy

(The dollar sign represents your prompt--don't type it.  A dollar
means you can run the command as a normal user, while a hash (#) means
you must be root.)

Once having mounted the floppy, you access it like any other
filesystem.  You will find it's contents under /mnt/floppy.  When you
are done with the floppy, you MUST unmount it:

$ umount /mnt/floppy

It is VERY important to umount it BEFORE you take the floppy disk out!
Notice how there's now 'n' in it--that's not a typo.  (They say the
'n' was lost some time back in the 70's and hasn't been seen since. :)

For the CDROM:
The cdrom is typically accessed via a symlink called
/dev/cdrom.  Once again, for a standard Redhat setup:

$ mount /mnt/cdrom

Like with the floppy, you can now use the cdrom like any other
filesystem and the CDROM contents are located under /mnt/cdrom.  You
must also unmount the cdrom:

$ umount /mnt/cdrom

or

$ eject

For the tape drive:
Don't know, never used one. :)  Is the drive already setup?

If any of the above commands fail, write back with the error message
and I'll explain how to fix it.  I won't waste the space now though,
because they will most likely work.

A lot of people like a set of programs called "mtools" for accessing
floppy drives.  They simply allow you to use the drive without
mounting and umounting it.  Personally, I prefer not to use mtools,
but the choice is yours.

Regards,
Ben

-- 
Ben Logan: ben at wblogan dot net
OpenPGP Key KeyID: A1ADD1F0



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to