[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: usbmount: automatically mount and unmount USB mass storage devices



martin f krafft <madduck@debian.org> writes:

> also sprach Martin Dickopp <martin-deb@zero-based.org> [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 to: