On Sun, 28 Mar 2010 20:21:20 -0600 Dave Thayer <debian1008610.dmtha...@recursor.net> wrote:
> On Fri, Mar 26, 2010 at 09:46:05PM -0700, bri...@aracnet.com wrote: > > Hi all, > > > > I'd like something where I can encode the behavior for particular > > devices, i.e. as I'm using the same devices over and over I'd like a > > way to make sure that the same device gets mapped to the same thing. > > > > Not needing X to be up and running is nice too. > > I use automount with a udev-fired script which generates automount > maps based upon the usb (or firewire) device's label. > > For instance, my backup drive is labeled rsnapshot_backup. When I plug > it in, an automount map is created for /media/auto/rsnapshot_backup/. > When unplugged, the map and mount directory is removed. > > My script still has some rough edges, It contains a fair amount of > crockery to deal with devices which generate multiple add events, such > as my ipod. > That seems like a pretty good system. I'm unclear what the order of execution is. Does udev create the event which invokes automount ? and if automount is executed first, how is it getting invoked ? Brian -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100328215831.28815...@windy.deldotd.com