Re: [opensuse] CD/DVD question
The problem with that, is that you have to redo it for every different CD/DVD you put in. Personnaly, I'd quite like a simple setup whereby my CD/DVDs are auto-mounted as /media/cdrom0, /media/cdrom1, USB stuff as /media/usb0, etc. Solaris has been doing this for, oh, over ten years. It mounts the CD under it's volume name, then creates a sym link from cdrom0 to the volume name. GTG
M Harris
>>> On Friday 09 March 2007 22:55, Stevens wrote: I have some programs that require something like /media/cdrom or /media/dvdrecorder to work, but Suse 10.2 reads the volume i.d. and uses that as the mount point, ie /media/SOME_Program. What do I do to make those programs work with the new dynamic naming convention? Create a symbolic link...
... a symbolic link allows a file to be referenced by another name (even from another directory) without changing the original file location or name. Change directory into /media ( cd /media ) as root. Use the following command to create the symbolic link ( I will use your example names ): ln -sf SOME_VOLUMEID cdrom The -s switch makes the link symbolic, and the -f switch forces the command to remove any existing links by that name... be careful---- cdrom is the linkname and SOME_VOLUMEID is the target. This will create a symbolic link under /media that will appear when listed ( ls -al ) as the following : cdrom -> SOME_VOLUMEID Now, apps that need to read /media/cdrom will actually be reading /media/SOME_VOLUMEID. What might happen though is that an app might need to read /mnt/cdrom... and you can still create a symbolic link to do the job. Change directory into /mnt as root and use this command: ln -sf /media/SOME_VOLUMEID cdrom This link will look like this when /mnt is listed: cdrom -> /media/SOME_VOLUMEID Now an app needing to find the cdrom (Redhat style) under the /mnt filesystem will be able to read the /media/SOME_VOLUMEID that was mounted Suse style. -- Kind regards, M Harris <>< -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 10 March 07 05:03, Gordon Ross wrote:
The problem with that, is that you have to redo it for every different CD/DVD you put in.
Personnaly, I'd quite like a simple setup whereby my CD/DVDs are auto-mounted as /media/cdrom0, /media/cdrom1, USB stuff as /media/usb0, etc.
Solaris has been doing this for, oh, over ten years. It mounts the CD under it's volume name, then creates a sym link from cdrom0 to the volume name.
Please don't top-post, Gordon. Your e-mail client doesn't seem to do quoting very well and it's making it hard as heck to figure out who you're replying to. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 10 March 2007 05:03, Gordon Ross wrote:
The problem with that, is that you have to redo it for every different CD/DVD you put in.
Personnaly, I'd quite like a simple setup whereby my CD/DVDs are auto-mounted as /media/cdrom0, /media/cdrom1, USB stuff as /media/usb0, etc.
Solaris has been doing this for, oh, over ten years. It mounts the CD under it's volume name, then creates a sym link from cdrom0 to the volume name.
GTG
M Harris
>>> On Friday 09 March 2007 22:55, Stevens wrote:
I have some programs that require something like /media/cdrom or /media/dvdrecorder to work, but Suse 10.2 reads the volume i.d. and uses that as the mount point, ie /media/SOME_Program.
OK, Suse developers, what would it take to get that feature included in Suse? As it stands right now, the "new" way of using the volume info as the mount point really, really sucks big time becaude there is NO - repeat NO - commonality to the mount points from one media mount to another. It seems the "new and improved" way of doing things is a giant step backwards that could be fixed by adopting Solaris's method. Fred -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
The problem with that, is that you have to redo it for every different CD/DVD you put in.
Personnaly, I'd quite like a simple setup whereby my CD/ DVDs are auto-mounted as /media/cdrom0, /media/cdrom1, USB stuff as /media/usb0, etc.
Solaris has been doing this for, oh, over ten years. It mounts the CD under it's volume name, then creates a sym link from cdrom0 to the volume name.
GTG
There is an SDB page that describes how to create static mount points for CD/DVD drives: http://en.opensuse.org/SDB:Mounting_to_Static_Mount_Points Unfortunately - according to the description - this method can't be applied to USB sticks in SUSE >= 10.0. If one knows a solution for USB sticks, please let me know. I asked this before but got no answer. (http://lists.opensuse.org/opensuse/2007-03/msg00068.html) Cheers, IG ________________________________________________ Karrier egy kattintásra! - http://allas.origo.hu/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Gordon Ross
-
Istvan Gabor
-
JB2
-
Stevens