LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   won't list contents of cdrom (https://www.linuxquestions.org/questions/linux-newbie-8/wont-list-contents-of-cdrom-244660/)

gillmb 10-19-2004 11:26 AM

won't list contents of cdrom
 
I just installed Slackware Linux 7.0 using the Linux for dummies book. There is a section regarding installing packages from different locations. When I run the pkgtool utility and change the drive to the cdrom - /cdrom/slakware/xap - I get a prompt for the cdrom directory - when I type ls to get a directory listing, there are no files there. I have an atapi cdrom and when I installed the software it recognized the cdrom drive.
Any suggestions? Is it not recognizing the cdrom drive at all or am I lost in a directory tree somewhere? Thanks.

darkleaf 10-19-2004 11:39 AM

Try this:
Code:

mount /dev/cdrom /cdrom
It starts your CDROM and links CDROM to the contents of the CD.

student04 10-19-2004 02:09 PM

adding to the above post: type that as root.


When you wish to remove the cd, you must unmount it with the umount command (notice the "n" is not present in the command):
Code:

root# umount /cdrom
Note: substitute /cdrom for the directory where you originally mounted it (if same as above post, just ignore this note).


All times are GMT -5. The time now is 01:55 PM.