Dr Fragen in the operating room

code

  • unmount.sh Part 3

    ·

    With some urging I’ve made the unmount.sh script work for samba shares. It works in preliminary testing. I also re-wrote the script to make it quite a bit simpler to add or change the search strings and thus the types of shares that the script is capable of unmounting. So far it will unmount AFP,…

    Read More

  • Fixing MySQL and phpMyAdmin

    ·

    There seems to be a problem with how current versions of OS X store the mysql socket and how [phpMyAdmin][1] looks for it. It seems currently the socket is stored at `/tmp/mysql.sock` but phpMyAdmin is looking for it at `/var/mysql/mysql.sock`. The result is a connection error type #2002. After a lot of Googling here’s the…

    Read More

  • unmount.sh Part 2

    ·

    The unmount.sh script has been working great in testing here. I’ve added unmounting of sshfs volumes though I can’t test it ’cause I don’t have MacFUSE installed. I highly recommend running the script from a launchd process as this provides for better logging. Lingon is great for setting this up and I’ve even got a…

    Read More