Archive

Archive for March, 2010

MySQL Basics – Permissions

March 25th, 2010 No comments

This came up recently at work, so I thought it would be good to lay down the basic permission system for MySQL accounts. These apply (except where noted) to MySQL 3 and higher.

Read more…
Categories: MySQL Tags: ,

Creating OS X-style DMG volumes in Linux

March 20th, 2010 4 comments

Working in a cross-platform environment, I sometimes find it necessary to deal with DMG files (Apple disk images). Instead of finding a coworker with a Mac, I have found it easier to equip my linux machine to be able to read, write, and create these images (uncompressed only) natively.

The key is the fact that a DMG image is merely a HFS+ filesystem in a single file (similar to the way a .iso file is a CDROM filesystem in a single file). While I’m not sure how the extra DMG options (such as encryption, compression, or being “internet enabled”) work under OS X, I have verified that it is easy to create simple, uncompressed DMG images from scratch in linux. Here’s what works for me under Ubuntu Dapper & Feisty.

Read more…
Categories: How To, Linux, OS X Tags: , , ,