Create the symlinksChange line BROWSE_MODE="no" to BROWSE_MODE="yes"
{{Code|Code= ln -s /var/hda/vol /var/hda/files/Disks}}Now restart and permanently enable autofs and then all should be good to go:
Make browse active by edit the file systemctl restart autofs systemctl enable autofs
{{Code|Code= nano /etc/sysconfig/autofs}}Create a share and add symlinks from it to the newly set up drive
Change line BROWSE_MODE="no" to BROWSE_MODE="yes" ln -s /var/hda/vol /var/hda/files/Disks
That is all, but for more see:
http://www.autofs.org/autofs-man.html
[[User== Use USB Disks or Sticks on Ubuntu Server == Ubuntu Server edition doesn't have the same automount function as the desktop version, so if you want to add the functionality here's how:Nalleju|Nalleju]] Install the usbmount package sudo apt-get install usbmount This will install the daemon and create some empty mount points at /media/usb0-7 If you now plug in a USB drive, it will be automounted in the first empty folder i.e. /media/usb0 If you need to mount an NTFS drive, then you need to edit the config file: sudo nano /etc/usbmount/usbmount.conf<pre># Filesystem types: removable storage devices are only mounted if they# contain a filesystem type which is in this list.FILESYSTEMS="vfat ext2 ext3 ext4 hfsplus ntfs"</pre> Find the 'FILESYSTEMS' entry and add 'ntfs' at the end If you use USB drives regularly you might want to add a symlink under /var/hda/files for one or more of the mountpoints, for example: ln -s /media/usb0 /var/hda/files/drives/usb That's it!