mount point
Kay Sievers
kay.sievers at vrfy.org
Fri Aug 18 08:31:15 PDT 2006
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
More information about the hal
mailing list