LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-19-2004, 12:26 PM   #1
gillmb
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Rep: Reputation: 0
Unhappy 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.
 
Old 10-19-2004, 12:39 PM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Try this:
Code:
mount /dev/cdrom /cdrom
It starts your CDROM and links CDROM to the contents of the CD.
 
Old 10-19-2004, 03:09 PM   #3
student04
Member
 
Registered: Jan 2004
Location: Georgia
Distribution: OS X, CentOS
Posts: 669

Rep: Reputation: 34
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).
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to list contents of a .tar.gz without unzip? leontini Linux - General 14 04-21-2010 03:07 AM
cannot list directory contents kpachopoulos Linux - General 2 11-29-2005 06:24 PM
Samba - XP can't list folder contents p0tw0r Linux - Networking 1 05-31-2005 04:37 AM
index.php to list the contents of the dir?? bruno buys Linux - Software 1 08-30-2004 03:19 AM
List the contents of a directory to a file MasterC Linux - General 19 11-26-2002 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:04 AM.

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