Archive for September, 2006

Decrypting afp mount strings

Posted by dre on September 15th, 2006

{10} andre@werk [~] % mount | grep /Volumes/andre
afp_006Af01nOUmc001Eic06SdO0-1.2c0000ae on /Volumes/andre (nodev, nosuid, mounted by andre)
Huh? how helpful is that! How can I tell what server it came from? Yeah, I could netstat, but what if there’s a bunch of AFP sessions open?
DisplayURL to the rescue!
{12} andre@werk [~] % ~dre/bin/DisplayURL /Volumes/andre
url: “afp://idio.dreness.com/andre”
kCFURLComponentScheme: “afp” including separators: “afp://”
kCFURLComponentNetLocation: […]

big mac

Posted by dre on September 12th, 2006

My Mac Pro arrived today. It’s pretty awesome. The first time I opened the cpu panel (after installing CHUD), I thought it was broken. I had all my normal stuff running (safari, ichat, mail, many terminals, itunes, console, a few others), and I was kinda sitting back in my chair so I didn’t see anything […]

Spotlight indexes on read-only media

Posted by dre on September 8th, 2006

Here’s a way to let spotlight do a full content index of a read only CD. It can even persist across uses :)
#!/bin/sh
# pass in the name of the r/o volume, e.g. DiskWarriorCD
# this is proof of concept only. seriously :)
if [ ! $1 ] ; then echo “supply a volume name” ; exit 1 […]