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

Re: /media - create directory on usb device insertion



Christof Hurschler wrote:
On a freinds newly installed testing machine usb partitions that are plugged
in are added to /media as sda1 for example.

On my older machine, also running testing, this does not occur.  Which
package is doing this, or how can I enable this functionality?

Hi Chris,

I think you need to do the following:

1) Install the packages "udev", "dbus-1" and "hal".

2) Install the package "pmount" and add your user to the group
"plugdev". This user can now mount/unmount all pluggable devices via the
pmount/pumount command without the need for a corresponding entry in
/etc/fstab.

3) If you use KDE you can choose to have icons appear on the desktop
whenever such a device is plugged in; you set this in the KDE Control
Center > Desktop > Behavior > Device Icons. I am sure that Gnome has a
similar option.

4) If you do not want to depend on KDE or Gnome you can probably use the
packages "autofs" and "am-utils" for mounting the devices automatically.
I have never tried this myself, though, therefore I can't give you more
specific advice on this.

I hope this helps.

Regards,
           Florian



Reply to: