Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-16-2003, 08:14 PM   #1
LQ Newbie
Registered: Dec 2003
Posts: 8

Rep: Reputation: 0
Question Directories

I would like to know how to copy information from a CD-ROM, floppy,and tape drive, into a specific directory.
Old 12-16-2003, 08:23 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
man mount
man cp
man tar

Old 12-16-2003, 08:28 PM   #3
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Rep: Reputation: 30
First, you need to mount the device. For a CD-ROM, this can be done with "mount /mnt/cdrom". For a flopyy, "mount /mnt/floppy" OR "mount /dev/fd0". This is assuming that you have an fstab with your cdrom and floppy sent to mount to those directories. You must be logged in as root to mount devices.

Now, to copy the files, do "cp -R /mnt/cdrom/filename /folder/to/copy/to". Where /mnt/cdrom is either /mnt/cdrom for the CD-ROM or /mnt/floppy for a floppy.

I'm not sure what tape drives are called in the devfs, so I can't tell you how to mount one, but I'm sure someone else will know how.
Old 12-16-2003, 09:07 PM   #4
LQ Newbie
Registered: Dec 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Ok. Thanx a million. I knew how to mount the drives and so, but i just wasn't sure about the copying part. But thanx for theinfo.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
CHMOD directories.sub-directories.files zerojosh Linux - Software 2 11-19-2005 03:22 PM
Searching multiple directories and sub directories for a file jeep99899 Linux - Newbie 2 10-13-2005 12:23 PM
Directories? Dev930 Linux - Newbie 3 02-28-2004 06:34 AM
Directories LinguelSanchez Linux - Newbie 3 07-03-2003 02:20 AM
directories in c++ erratic Programming 1 04-07-2001 12:24 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration