The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Debian
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 11-17-2008
noratx noratx is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 30
automount specific USB-disk to specified path

I was just talking to a friend of mine about a problem I have, and he suggested that udev could probably help me. Allthough he couldn't give me any hints on how to accomplish what i want to.

I have read the manual and searched google, but without any good info... here's the thing...

I am running Debian Etch, and have 3 USB disks.
I would like to give them "names" in order to correctly automount them to some specific path.

For simplicity, lets call the Seagate, Maxtor and Samsung.
I would like to allways mount them into /share/USB/Seagate, /share/USB/Maxtor and /share/USB/Samsung
The problem is just that they never have the same devicename. Seagate can at one time be sda1, and the next sdc1.

How can I make it so that no matter what devicename the disks got, the Seagate disks allways automounts in /share/USB/Seagate and so on?