Question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: KevinO
Date:  
Subject: Question
robert jorgenson wrote:
>
> how would i get that off the cdrom? i know mount /dev/cdrom will mount it but how do i actually access the cdrom?
>


Assuming you have a directory - /mnt/cdrom , to mount your cdrom to :

$ mount -t iso9660 /dev/cdrom /mnt/cdrom

Or you may be able to just :

$ mount /dev/cdrom

Then you can just

$ cd /mnt/cdrom
$ ls -l
$ cp /mnt/cdrom/<filename> <path_you_want_to_copy_to>
etc, etc

The cdrom is now effectively mounted to /mnt/cdrom, and everything on it
will appear hanging down from that point.

When you are done with the cdrom, just 'cd' somewhere other than on the
cd ... perhaps :

$ cd /mnt

and then umount the cdrom

$ umount /dev/cdrom
$ eject

Oh, and don't forget to do a :

$ man rpm

;-)
-
Kevin O'Connor

"People will be free to devote themselves to activities that are fun,
such as
programming, after spending the necessary ten hours a week on required
tasks
such as legislation, family counseling, robot repair and asteroid
prospecting.
There will be no need to be able to make a living from programming."
The GNU Manifesto - Copyright (C) 1985, 1993 Free Software Foundation,
Inc.