mp3fs for Linux

This is how easy it is with Linux (Ubuntu 9.04 Jaunty Jackalope in my case) :

1. sudo aptitude install libfuse-dev libflac-dev libmp3lame-dev libid3tag0-dev
2. wget mp3fs-0.13.tar.gz (
3. tar xfz mp3fs-0.13.tar.gz
4. cd mp3fs-0.13
5. ./configure
6. make && sudo make install
7. sudo mkdir /srv/mp3fs
8. sudo mp3fs /FLAC/,256 /srv/mp3fs/ -o allow_other,ro

How to read Mac .dmg images in Linux

How to read Mac .dmg images in Linux (via dmg2img) :

Quick Guide that was tested on Ubuntu Linux Jaunty Jackalope.

1. Download and compile DMG2IMG ( :

wget -O dmg2img.tar.gz
tar xfz dmg2img.tar.gz
cd dmg2img

2. Convert the DMG to IMG with dmg2img :

./dmg2img file.dmg

3. Install hfsplus :

sudo apt-get install hfsplus

4. Mount the image as a loopback device :

sudo mkdir /mnt/macimage
sudo mount -t hfsplus -o loop file.img /mnt/macimage