Sunday, November 19, 2006

Automatic mounting

For automatic mounting of removable devices, the command pmount is used in the background.

For this to work, you seem to need to add each device in a list in the file:

/etc/pmount.allow

I had to do this with a CF over PCMCIA. Nice thing about it though is that you need not modify either /etc/fstab, mount as root or create the mountpoint directory (all these go under /media). pmount figures it all out for you. Please read the manpage for pmount to make sure you follow the policy for your device.

Detect the device by first inserting it, and then invoke the command:

sudo fdisk -l

Copy&paste the device filename and put it into the list. In my case the line was:

/dev/hde1
Do not do as in the following suggestion: http://ubuntuforums.org/showthread.php?t=295036

No comments:

Post a Comment