Originally Posted by cnm
USB will be mounted to "/anyDirectory/anySubDirectory/anyNameForDevice" directory automatically when its pluged.
Actually, no, that's not how autofs works. The device will be mounted when you access the mount point
, not when you plug it in. Autofs mounts filesystems on demand
and then automatically unmounts them after a certain period of inactivity. It doesn't know about USB hotplug events and will not respond to them. For your purposes, the difference is probably academic, but it is there.
Originally Posted by jschiwal
One thing to check is if your distro uses udev rather than autofs.
That statement makes no sense. Udev handles dynamic creation and destruction of device nodes and is installed on every reasonably up-to-date Linux system. Autofs handles mounting local and network filesystems. One is not a substitute for the other.