Add Comment

You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.

To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.

This is the comment you were replying to, attached to the article Automounting card readers and USB keys using autofs:


Re: Automounting card readers and USB keys using a
Posted by Seaslug (128.30.xx.xx) on Mon 9 May 2005 at 01:12
Gnome with Nautilus can monitor the directory /media for hotplug events, using pmount.

pmount settings need to be altered in configuration files (in Debian, the package is installed by default with normal user access turned off for security reasons - read the docs)

In the case of two identical drives, the device will be mounted on /media using the filesystem label, which can be changed or added using tune2fs or equivalent for other fs, as long as there is no reference to it in /etc/fstab.

under desktop preferences => removable drives and media there is a tab where you can check/uncheck automount, browse, etc.

So: plug in the drive and and icon appears on the desktop, and a browser opens if you want.

Drawbacks: The suid bit is not set under pmount, so write access is denied to the normal user by default. The program does not allow for safely unmounting the fs prior to unplugging, so the user has to remember to right ckick the icon and select unmount prior to unplugging.

Hope this helps on that one.

Username:Anonymous
Title:
Your Comment:

Posting Format:

 

Inappropriate comments will be removed.

Some help on entry formatting is available

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search