martin f krafft <[EMAIL PROTECTED]> writes:

> also sprach Martin Dickopp <[EMAIL PROTECTED]> [2004.10.27.1954 +0200]:
>> Sorry, but I don't understand what you mean by that. What hotplug
>> abilities could/should a tool which is specifically intended for
>> manual mounting have?
>
> a simple udev or hotplug hook. udev or hotplug (the first preferred)
> can call an arbitrary programme and pass it things like the device
> node on connection and disconnection.

That is the mechanism my script uses now, but since udev invokes it as
superuser, there is no need to use pmount. Instead, the ordinary mount
command can be used.

Martin


-- 
   ,--.                                          ,= ,-_-. =.
  / ,- )    Martin Dickopp, Dresden, Germany    ((_/)o o(\_))
  \ `-'        http://www.zero-based.org/        `-'(. .)`-'
   `-.                                               \_/

Reply via email to