mount point

Jeffrey Stedfast fejj at novell.com
Fri Aug 18 07:57:19 PDT 2006


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).

Jeff

> 
> _______________________________________________
> hal mailing list
> hal at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/hal
-- 
Jeffrey Stedfast
Evolution Hacker - Novell, Inc.
fejj at novell.com  - www.novell.com



More information about the hal mailing list