
I asked a question about this last week and was sent to the support db, but that answer doesn't solve my problem. I'm trying to script reads and writes to my dvd. Of course, this becomes difficult because it mounts dynamically, giving the name of the disk. I've looked in the environment, through /etc, and so on, but can't find a place where the title of the dynamically mounted dvd is listed in a text file. If I can find the name somewhere on disk, I can read it into a script variable and work with it on the fly. Does anyone have a clue about this?

On 5/18/05, Tim Hanson <tjhanson@comcast.net> wrote:
I asked a question about this last week and was sent to the support db, but that answer doesn't solve my problem.
I'm trying to script reads and writes to my dvd. Of course, this becomes difficult because it mounts dynamically, giving the name of the disk.
I've looked in the environment, through /etc, and so on, but can't find a place where the title of the dynamically mounted dvd is listed in a text file. If I can find the name somewhere on disk, I can read it into a script variable and work with it on the fly. Does anyone have a clue about this?
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Hi Tim, i sent you some information about the hal / dbus system, but this seems to have not helped you anything.. But once again, did you try to enter the lshal command on your command line as I suggested? For each device you should see an entry then. if you entered a CD you would find in the section of your DVD - device the mount point used for this CD. volume.mount_point = '/media/idedisk' does this help? Markus

On 5/18/05, Markus Natter <markus.natter@gmail.com> wrote:
On 5/18/05, Tim Hanson <tjhanson@comcast.net> wrote:
I asked a question about this last week and was sent to the support db, but that answer doesn't solve my problem.
I'm trying to script reads and writes to my dvd. Of course, this becomes difficult because it mounts dynamically, giving the name of the disk.
I've looked in the environment, through /etc, and so on, but can't find a place where the title of the dynamically mounted dvd is listed in a text file. If I can find the name somewhere on disk, I can read it into a script variable and work with it on the fly. Does anyone have a clue about this?
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Hi Tim,
i sent you some information about the hal / dbus system, but this seems to have not helped you anything..
But once again, did you try to enter the lshal command on your command line as I suggested? For each device you should see an entry then.
if you entered a CD you would find in the section of your DVD - device the mount point used for this CD.
volume.mount_point = '/media/idedisk'
does this help?
Markus
and one more thing, what does dmesg say about your usb DVD device when you freshly plug it in as Joseph asked? Markus

does this help?
Markus
and one more thing, what does dmesg say about your usb DVD device when you freshly plug it in as Joseph asked?
Markus
There's my answer. tail /var/log/messages yields: May 18 21:12:15 susedesk hal-subfs-mount[17239]: registered at resmgrd and called(0) /bin/mount -t subfs -o fs=hfsplus,sync,nosuid,nodev,exec /dev/hdb "/media/STYC216E" "STYC216E" is the name of the disk I inserted. This is something I can massage into a variable and use. Thanks for the idea.

The Wednesday 2005-05-18 at 21:21 -0700, Tim Hanson wrote:
There's my answer. tail /var/log/messages yields:
May 18 21:12:15 susedesk hal-subfs-mount[17239]: registered at resmgrd and called(0) /bin/mount -t subfs -o fs=hfsplus,sync,nosuid,nodev,exec /dev/hdb "/media/STYC216E"
"STYC216E" is the name of the disk I inserted. This is something I can massage into a variable and use. Thanks for the idea.
Did you see my email? What you are asking for is documented. -- Cheers, Carlos Robinson

On Thu, 2005-05-19 at 13:54 +0200, Carlos E. R. wrote:
The Wednesday 2005-05-18 at 21:21 -0700, Tim Hanson wrote:
There's my answer. tail /var/log/messages yields:
May 18 21:12:15 susedesk hal-subfs-mount[17239]: registered at resmgrd and called(0) /bin/mount -t subfs -o fs=hfsplus,sync,nosuid,nodev,exec /dev/hdb "/media/STYC216E"
"STYC216E" is the name of the disk I inserted. This is something I can massage into a variable and use. Thanks for the idea.
Did you see my email? What you are asking for is documented.
Yes, I did and thank you for pointing out the sdb article. My interest was more in working with it than disabling it.

The Thursday 2005-05-19 at 20:14 -0700, Tim Hanson wrote:
Yes, I did and thank you for pointing out the sdb article. My interest was more in working with it than disabling it.
But the sdb article says how to give mount a fixed name. That's better than trying to find out what it is everytime. The other article was on how to dissable automount for a particular drive. -- Cheers, Carlos Robinson

The Tuesday 2005-05-17 at 22:43 -0700, Tim Hanson wrote:
I asked a question about this last week and was sent to the support db, but that answer doesn't solve my problem.
I'm trying to script reads and writes to my dvd. Of course, this becomes difficult because it mounts dynamically, giving the name of the disk.
There is an article in the sdb about how to disable dynamic mounting, and I explained how to do it here. There is another article there about how to customize the names used for dynamic mounting. Search for this email: Subject: Re: [SLE] automounting of Floppy 9.3 [solved: NOT automounting] -- Cheers, Carlos Robinson
participants (3)
-
Carlos E. R.
-
Markus Natter
-
Tim Hanson