LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-31-2011, 06:24 AM   #1
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
Mounting inserted CD to one folder every time


I run a windows program thru wine which reads the inserted cd. The problem is that the cd is mounted on a folder created with the name as the label of the cd. But wine needs CD to mounted to only a specific folder every time. How can I manage to have every inserted CD to be mounted to /cdrom folder only? Can I put some line in /etc/fstab? I am using ubuntu linux.
 
Old 12-31-2011, 09:12 AM   #2
tshikose
Member
 
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 525

Rep: Reputation: 95
Then, autofs should be what you need.
I do think (from memory) that it already as the cdrom mounted automatically at /misc/cdrom !
Check /etc/auto.master and /etc/auto.misc, and of course related man pages.
 
Old 12-31-2011, 10:00 AM   #3
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
There are folders /cdrom and /media/cdrom0, but CDs are being mounted (automatically) at /media/cd-label in ubuntu.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
mixed mounting of automount and fstab in one folder? &different home folder using NIS herofmm Linux - Software 0 04-06-2009 11:00 AM
mounting folder on start-up joeman3429 Fedora 3 10-12-2005 09:13 PM
Mounting home folder BruceC Other *NIX 2 09-30-2005 04:12 PM
Mounting a folder dwig365 Linux - Newbie 2 10-07-2004 02:45 PM
folder permissions when mounting to them Lokheed Linux - Hardware 2 09-16-2004 09:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:02 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
Open Source Consulting | Domain Registration