udev, hal, and usb mass storage.

Behdad Esfahbod behdad at cs.toronto.edu
Mon Apr 19 04:44:40 PDT 2004


Hi,

I think you should look for it under gnome-volume-manager.  IMHO
it should take care of the link, and it should be easy to do
there.

behdad


On Mon, 19 Apr 2004, Anthony Metcalf wrote:

> On Mon, 19 Apr 2004 13:37:08 +0200
> David Zeuthen <david at fubar.dk> wrote:
>
> > Technically hal-device-manager is just a simple application showing
> > the device objects and their properties exported by HAL.
>
> Yes but one of those properties it the devce node name, /dev/sda1 for
> example. Would it be feasable to have "links" as a property? which would
> say "/dev/keyfob" in my example, meaning that /dev/keyfob was a link to
> /dev/dsa1. The information could be provided by udev could it not?
>
> > HAL in CVS now has callouts, see hald/callout.c for details. The short
> > story is that you can now drop a script like this
> >
> > http://freedesktop.org/cgi-bin/viewcvs.cgi/hal/hal/tools/callouts/fstab-update.sh?rev=1.4&view=auto
>
> >From what I can see this will mount the device, depending on what device
> node it is given, if the device is not in fstab, it will add it. Am I
> correct or am I reading wrong?
>
> What I want to achive is to have the same device mounted to the same
> point, regardless of what device node it is given.
>

--behdad
  behdad.org

_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list