how to change the CD mount point

2013-10-15 Thread Edison, Arul (GE Healthcare)
HI,
I am porting my application from Redhat to Scientific Linux 6.3 
In Scientific Linux, the CD is mounted to mount point /media/CDROM_
I would like to change the mount point location to /mnt/cdrom
Any idea what is the configuration to change this?

Thanks,
Arul


Re: how to change the CD mount point

2013-10-15 Thread Paul Robert Marino
Um well that's not a porting issue that's a basic sysadmin issue.If the CD isn't being automouted by a GUI like they usually are nowadays then look at '/etc/fstab'.-- Sent from my HP Pre3On Oct 15, 2013 8:07, Edison, Arul (GE Healthcare) aruljeyananth.jamesedi...@ge.com wrote: HI,
I am porting my application from Redhat to Scientific Linux 6.3 
In Scientific Linux, the CD is mounted to mount point /media/CDROM_
I would like to change the mount point location to /mnt/cdrom
Any idea what is the configuration to change this?

Thanks,
Arul

Re: how to change the CD mount point

2013-10-15 Thread Chris Jones

Hi,

Mounting in /media is pretty standard these days. If you want your 
application to work on any SLC6 machine, you should instead be looking 
to fix your application to look in /media (as well as /mnt). This is not 
something your application can change, its a system setting.


Chris

On 15/10/13 13:06, Edison, Arul (GE Healthcare) wrote:

HI,
 I am porting my application from Redhat to Scientific Linux 6.3
In Scientific Linux, the CD is mounted to mount point /media/CDROM_
I would like to change the mount point location to /mnt/cdrom
Any idea what is the configuration to change this?

Thanks,
Arul



Re: how to change the CD mount point

2013-10-15 Thread Paul Robert Marino
The automount tools in the GUI usually use the label of the CD as the mount point so the only way to ensure the name is the same regardless of the label is to specify it in the /etc/fstab file.And yes that line should work in SL6-- Sent from my HP Pre3On Oct 15, 2013 17:09, Steven J. Yellin yel...@slac.stanford.edu wrote:  Here's a line from /etc/fstab on an SL5 machine.  It might work for 
SL6, too, assuming you have a /mnt/cdrom directory:

/dev/cdrom   /mnt/cdrom   udf,iso9660   noauto,owner,kudzu,ro   0 0

Or maybe it would work to instead make make /media/CDROM_ into a symbolic 
link to /mnt/cdrom before loading the CD.

Steven Yellin

On Tue, 15 Oct 2013, Edison, Arul (GE Healthcare) wrote:

 HI,
I am porting my application from Redhat to Scientific Linux 6.3
 In Scientific Linux, the CD is mounted to mount point /media/CDROM_
 I would like to change the mount point location to /mnt/cdrom
 Any idea what is the configuration to change this?

 Thanks,
 Arul


Re: how to change the CD mount point

2013-10-15 Thread Alan Bartlett
On 15 October 2013 23:36, Paul Robert Marino prmari...@gmail.com wrote:
 The automount tools in the GUI usually use the label of the CD as the mount
 point so the only way to ensure the name is the same regardless of the label
 is to specify it in the /etc/fstab file.
 And yes that line should work in SL6

Just remember to remove 'kudzu' from the options for SL6:

/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,ro 0 0