I am using a Cubieboard
. It has 2 USB's, but one is already in use, so that leaves one available. ^^ It is running a custom 3.4.43 kernel - I had to compile my own because the original had autofs disabled. I also had to manually install autofs automounter with apt-get.
Could you please show me your configuration files for autofs?
Most removable media have only one partition, so adding an entry for that in autofs is not a problem. However I'd like to account for the rare cases when multiple partitions are available. Like when there is only one partition, have it mount as /mnt/disk. But when there multiple partitions on the device, have them mounted as /mnt/disk/<sdb1_name>, /mnt/disk/<sdb2-name> where sdbX-name is the name of the filesystem i.e. the Label like /mnt/disk/Music /mnt/disk/Documents
Can something like this be done?
The /mnt/disk folder will be shared on the network with Samba.