mount point

Alberto Ruiz aruiz at synaptia.net
Fri Aug 18 10:31:02 PDT 2006


On hal 0.5.7:

[arc at centauri:/usr/share/hal/scripts]$ grep MOUNT_ROOT *
hal-system-storage-cleanup-mountpoints:MOUNT_ROOT="/media"
hal-system-storage-mount:MOUNT_ROOT="/media"
...

Does that folder has anything to do with g-v-m?

2006/8/18, Kay Sievers <kay.sievers at vrfy.org>:
>
> On Fri, 2006-08-18 at 10:57 -0400, Jeffrey Stedfast wrote:
> > On Fri, 2006-08-18 at 12:18 +0200, Soren Hansen wrote:
> > > On Thu, Aug 17, 2006 at 04:13:40PM -0400, David Zeuthen wrote:
> > > > > hi, can anyone tell me where is the code written for finding the
> > > > > moint point(point where the device needs to b mounted). for eg
> > > > > /media/usbdisk?  is it written in hald or udev .
> > > > No, it's a parameter passed to the Mount() method and usually comes
> > > > from the desktop specific mount program. For example, gnome-mount
> > > > reads this stuff from gconf - see the gnome-mount sources in GNOME
> CVS
> > > > if you're interested.
> > >
> > > Er... gnome-volume-manager uses the volume.policy.desired_mount_point
> > > attribibute, doesn't it? That comes from hald.
> >
> > No. g-v-m passes "" as the mount point when mounting volumes (e.g. in
> > the case where gnome-mount is not installed on the system). This (from
> > what I understand) makes the hal mount script figure out what it should
> > use as the mount point itself (which may or may not use the policy key
> > mentioned above, I have no idea).
>
> The HAL Mount() method uses 'volume.label' and falls back to 'disk'.
>
> Kay
>
> _______________________________________________
> hal mailing list
> hal at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/hal
>



-- 
Un saludo,
Alberto Ruiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/hal/attachments/20060818/6ad71b92/attachment.html


More information about the hal mailing list