Re: how I got usb sticks and card reads mounted/unmounted automatically (using udev)
On Mon, 08 Nov 2004 00:26:36 -0500
"H. S." <greatexcalibur@yahoo.com> wrote:
>
> First of all, here is what I have installed:
> #> dpkg -l gnome-volume-manager gnome-desktop* udev hotplug | grep
> '^ii' ii gnome-volume-m 1.0.2-3 GNOME daemon to auto-mount and
> manage media
> ii gnome-desktop- 2.6.1-2 Common files for GNOME 2 desktop
> apps ii gnome-desktop- 60 The GNOME Desktop Environment
> ii udev 0.040-1 /dev/ management daemon
> ii hotplug 0.0.20040329-1 Linux Hotplug Scripts
>
>
> To get icons of devices that you have listed in your /etc/fstab
> (whether they be USB sticks, card readers or anything else) you need
> gnome-volume-manager (KDE has something similar, but I have not
> experimented with that). I have tried the following method
> successfully in Debian Sarge and Sid.
>
> Now to automatically detect if a device is connected hot (USB stick,
> card reader, etc.) you need udev. Then to make udev make a /dev/<file>
>
> for the device that you connect, you need to tell udev what to look
> for. This is done in a rules file in /etc/udev/rules.d/. This
> directory can have as many rules as as you need.
<snip - lots of useful info>
Excellent mini-howto. Thanks, "H.S."!
Jacob
Reply to: