LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 11:26 AM   #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, 11:39 AM   #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, 02:09 PM   #3
student04
Member
 
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
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



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 02:07 AM
cannot list directory contents kpachopoulos Linux - General 2 11-29-2005 05:24 PM
Samba - XP can't list folder contents p0tw0r Linux - Networking 1 05-31-2005 03:37 AM
index.php to list the contents of the dir?? bruno buys Linux - Software 1 08-30-2004 02:19 AM
List the contents of a directory to a file MasterC Linux - General 19 11-26-2002 10:09 AM

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

All times are GMT -5. The time now is 06:00 PM.

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
Open Source Consulting | Domain Registration