# mac

Johnathan
Riddell
jr@jriddell.org
Malcolm
Hunter

    malcolm.hunter@gmx.co.uk

KDE British Conversion

The mac ioslave lets you read an HFS+ partition from &konqueror; or any other &kde; file dialogue. It uses hfsplus tools, so you will need these installed for it to work.

Enter `mac:/` into &konqueror; and you should see the contents of your &MacOS; partition. If you have not used kio-mac before, you will probably get an error message saying you have not specified the right partition. Enter something like `mac:/`?dev=/dev/hda2`` to specify the partition (if you don't know which partition &MacOS; is on, you can probably guess by changing hda2 to hda3 and so on or use the print command from `mac-fdisk`). This partition will be used the next time, so you do not have to specify it each time.

Hfsplus tools let you see the file and copy data from the HFS+ partition, but not to copy data to it or change the filenames.

HFS+ actually keeps two files for every one you see (called forks), a resource fork and a data fork. The default copy mode when you are copying files across to your native drive is raw data, which means it only copies the data fork. Text files are copied in text mode (same as raw format but changes the line endings to be &UNIX; friendly and gets rid of some extra characters - strongly advised for text files), unless you specify otherwise. You can also copy the files across in Mac Binary II format or specify text or raw format with another query: `mac:/`myfile?mode=b`` or `mac:/`myfile?mode=t``. See the `hpcopy` man page for more.

Note that you need permissions to read your HFS+ partition. How you get this depends on your distribution.

For some reason some folders in &MacOS; end in a funny tall f character. This seems to confuse hfstools.