On ה', 2005-12-22 at 11:59 +0200, Efraim Yawitz wrote:
> I've just been looking around the web for instructions on how to set up
> hotplug to mount and unmount my digital camera, but I don't find anything
> that looks standard and simple. I have nothing against copying some
> script some guy wrote, but I would prefer if someone could point me to the
> standard instructions on how to do this; the man page is a bit too sparse
> for me to feel confident in writing scripts to put under /etc/hotplug.
Instead of implementing scripted policies in /etc/hotplug/usb/, the
RIGHT way to go on modern (Linux 2.6) systems is this:
1. Install HAL.
2. Use a recent version of either GNOME or KDE.
3. Configure them to automatically mount your removable media:
- In GNOME, see Desktop menu | Preferences | Removable Drives and
Media
- In KDE, use the Control Center to configure the policy.
In most cases, the defaults would be already allright.
Alternatively, if you're not using any of those modern graphical
desktops (e.g. if you're a console-only user), you may use Ivman:
http://ivman.sourceforge.net/
(Ivman still uses HAL to be notified about new removable media, so
you'll need HAL installated.)
And note: All of the above should be provided by your Linux distro. You
should not bother to compile those packages yourself -- just use your
distro's installation utility (apt, yum etc.) to install them. The only
exception might be Ivman -- you might need to compile it yourself, since
it's not very widespread in distros yet.
================================================================To unsubscribe,
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]