Friday, July 08, 2005

Automatic USB detection and Mount

I managed to get my USB flash drive to automaticaly mount in Linux and the steps are below;


Get root first of all ;)


  • # apt-get install pmount hal udev
  • # vi /etc/default/hal and comment out the line found there (#DAEMON_OPTS=--drop-privileges)
  • # cd /etc/hal/devices.d
  • # ln -s /usr/sbin/hal 50-fstab-sync.hal
  • make sure you enable device icons in KDE (using control center -> Behaviour -> 'Device Icons' tab -> select 'Show Device Icons' -> Select all you want to be seen in the desktop)
  • restart the session


-- Thank you Anuradha and Bud for the research :)