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 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] CD/DVD question
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[opensuse] CD/DVD question
This has probably been answered before but if so, I missed it. 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? Fred -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] CD/DVD question
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]