My git wiki article has been updated. Humming along. If this looks like something you want to do, check it out…

                      repo1
               mybranch<->master
              /                 \
my shared repo                   external svn repo
              \                 /
               mybranch<->master
                      repo2

I want to plug my 8GB-SDHC-card-in-a-USB-adapter in, and immediately be able to add and remove files to it. With a little digging in, I got the job done. This is going to make my life a LOT easier. Now I can trigger any action I want for every single device I plug in to my boxxen. Sweetness.

I use gentoo, but this should apply to any modern linux distribution. With a less hands-on distribution like Ubuntu, everything should be already done for you, but you still might want to dig in here to see what’s going on under the hood. Also, there’s a LOT of outdated material out there, as this stuff has been hammered out over the years. So without further ado, here’s an up-to-date summary to get you up to speed fast:

  1. udev: Assign unique names to your devices
  2. Automatically mount and unmount your devices
  3. udev: Autorun programs when connecting your devices

Added [subversion] to make.conf. gentoo tracks this flag on the git package to determine whether to install git-svn or not. I can’t imagine anywhere that I wouldn’t want svn support, so I made it global.

[x] tdm2 [x] wimpy [x] tdm

Spamassassin was failing, all I needed was a kill, zap, and restart. But in my typical kid-in-a-candyshop fashion, I used it as an excuse to bump up the server to the latest goodies. BAD admin! But it wasn’t very many packages, and gentoo made it smooth as always. Included a bump to kernel 2.6.25-gentoo-r8, and a postfix bump (which dispatch-conf made trivial). Sweet.

The simple example will show you all you need to know. Handles all those crazy command-line options for ya, nice.