Linux forum

General discussion

Navigating To The Optical Drive Via the Terminal

by StargateFan / July 31, 2007 2:07 AM PDT

Now when on the Windows NT Kernel, or Windows DOS Kerel, I just access the command prompt for NT or the Command.com (MS DOS) for the DOS kernel. And type in

X: where X is the drive,

and then I can access the drive through a command line interface. However in the UNIX Terminal I for the life of me can not figure out how to naviagte to the optical drive.

I understand that the hierarchy in Linux/UNIX is different and doesn't rely on alphabet hierarchy, neither does Windows if you so choose. But I can't figure out how to call up the drive. Thanks for the help.

Discussion is locked
You are posting a reply to: Navigating To The Optical Drive Via the Terminal
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Navigating To The Optical Drive Via the Terminal
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Why just that command?
by ahtoi / July 31, 2007 2:56 AM PDT

Not that I know what I am talking about, but just get there won't do much for you; you need to know other commands as well. My suggestion is to do a little reading (like linux in a nutshell or some other). Happy reading.

Collapse -
Yes I know you need commands
by StargateFan / July 31, 2007 4:04 AM PDT
In reply to: Why just that command?

Look what I am asking is how to navigate to the drive. I can't very well execute commands for a location I don't know how to access.

Collapse -
Its usually "mounted"
by R. Proffitt Forum moderator / July 31, 2007 3:13 AM PDT
Collapse -
Thanks Bob
by StargateFan / July 31, 2007 4:06 AM PDT
In reply to: Its usually "mounted"

As usual you are very helpful.

Collapse -
Which distribution?
by 3rdalbum / August 3, 2007 8:47 PM PDT

Knowing which distribution it is would be quite handy, and if you are running a GUI already.

My optical drives mount at /media/cdrom0 and /media/cdrom1; yours might mount at /media/cdrom or /media/dvd or /media/dvd0.

A good way to try is to go to the terminal and type:

cd /media
ls

That will change the directory to the /media directory, and then list the contents of that directory. If your optical disc is mounted, you'll be able to see the mount point for it there.

If you've already got a GUI running, in KDE and XFCE you can simply open the disc in the file browser, then right-click in the window and select "Open in terminal". This will open a new terminal window inside the correct directory. If you're running Gnome, you can install a package called "nautilus-open-terminal", log out, log back in, and you'll have the same sort of menu item when you right-click.

Collapse -
Hey Thanks
by StargateFan / August 4, 2007 2:50 AM PDT
In reply to: Which distribution?

I am running Ubuntu on a hypervisor. But I figured that naming the particular distro wouldn't be neccessary because most of the distro's use the same method to access drives connected to the computer, now I could be wrong about that of course.

Now can I access any drive, let's say I have a flash drive by accessing the media directory?

Collapse -
Ahh, easy
by 3rdalbum / August 6, 2007 10:58 PM PDT
In reply to: Hey Thanks

I asked about distributions because some of them mount drives into a slightly different place than usual.

But to answer your question, yes; just do cd /media and you will find all the drives that have been mounted. I am assuming that you are running Gnome at the time; Gnome has an automounter.

If you're not running an automounter already, I advise you to use Synaptic or Apt-get to install "ivman":

sudo apt-get install ivman
ivman &

Then plug in your flash drive, and it will mount.

Collapse -
(NT) Thanks Again!
by StargateFan / August 7, 2007 4:22 AM PDT
In reply to: Ahh, easy
Popular Forums
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

FALL TV PREMIERES

Your favorite shows are back!

Don’t miss your dramas, sitcoms and reality shows. Find out when and where they’re airing!