Here is my issue:
My computer has 4 USB ports and is running Ubuntu 12.10. I receive different USBs every day, plug to my computer, read/write data to them, and then send them away.
What I want is to automatically mount any USB I plug into my computer. The first detected USB will go to /media/HDD1
, the second will go to /media/HDD2
and so on.
Or it would be great if USB plugged to port1 will go to /media/HDD1
, USB plugged to port2 will go to /media/HDD2
, and so on.
The path /media
is not important but I would like the HDD1-4 directories in one place so that I can easily access them.
The USBs are normally ext2 but sometimes I get FAT32, NTFS USBs as well.
I also want USB to be mounted without logging in to Ubuntu as I often access /media/HDD..
from another Windows computer.
How can I do that? What change in udev
rules, fstab
should I make? Any suggestion is highly appreciated.