~ubuntu-branches/ubuntu/warty/kdebase/warty

« back to all changes in this revision

Viewing changes to kioslave/mac/README

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-09-16 04:51:45 UTC
  • Revision ID: james.westby@ubuntu.com-20040916045145-9vr63kith3k1cpza
Tags: upstream-3.2.2
ImportĀ upstreamĀ versionĀ 3.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From the hfsplus man page:
 
2
 
 
3
       "HFS+,  also  known  as  the Macintosh Extended Format, was
 
4
       introduced by Apple Computer in 1998 with the  release  of
 
5
       MacOS 8.1.  It contains many improvements over the old HFS
 
6
       file system, most notably the ability to  allocate  up  to
 
7
       2^64  blocks,  resulting in much more efficient storage of
 
8
       many small files on large disks."
 
9
 
 
10
This kio slave lets you read an HFS+ partition from konqueror
 
11
or any other KDE file dialogue.  It uses hfsplus tools so you will
 
12
need these installed for it to work.
 
13
 
 
14
TO INSTALL
 
15
 
 
16
Read the INSTALL file.
 
17
 
 
18
 
 
19
NOTES
 
20
 
 
21
Just enter mac:/ into Konqueror and you should see the contents of
 
22
your MacOS partition.  Actually you'll probably get an error message
 
23
saying you havn't specified the right partition.  Enter something
 
24
like mac:/?dev=/dev/hda2 to specify the partition (if you don't know
 
25
which partition MacOS is on you can probably guess by changing hda2 to
 
26
hda3 and so on or use the print command from mac-fdisk.  The partition
 
27
will be used the next time so you don't have to specify it each time.
 
28
 
 
29
Hfsplus tools let you see the file and copy data from the HFS+
 
30
partition but not to copy data to it or change the filenames or such like.
 
31
 
 
32
HFS+ actually keeps two files for every one you see (called forks), a
 
33
resource fork and a data fork.  The default copy mode when you're
 
34
copying files across to you native drive is raw data which means it
 
35
just copies the data.  Text files are copied in text mode (same as raw
 
36
format but changes the line endings to be Unix friendly and gets rid
 
37
of some funny extra characters - strongly advised for text files)
 
38
unless you specify otherwise.  You can also copy the files across in
 
39
Mac Binary II format or specify text or raw format with another query:
 
40
mac:/myfile?mode=b or mac:/myfile?mode=t  See man hpcopy for more.
 
41
 
 
42
Note that you need permissions to read your HFS+ partition.  How you
 
43
get this depends on your distribution, do a ls -l /dev/hdaX on it to
 
44
see.  Under Debian you have to be in the disk group (just add your
 
45
username to the end of the entry in /etc/group).
 
46
 
 
47
File types are done with matching the HFS+ type and application label
 
48
and then by extentions.  See the source for the exact matching that
 
49
happens and feel free to suggest improvements.
 
50
 
 
51
For some reason some directories in MacOS end in a funny tall f
 
52
character.  This seems to confuse hfstools.
 
53
 
 
54
You can't easiily use the command line tools while you are browsing
 
55
using kio-mac in Konqueror.  Konqueror continuously refreshes it's
 
56
view which mean hpmount is being called every few seconds.  Click on
 
57
Konqueror's home button before using the tools yourself on the command
 
58
line.
 
59
 
 
60
Hidden files are now shown all the time.  Apparantly Konqueror only
 
61
considers files with a dot at the front of the name to be hidden which
 
62
is a bit system dependant.
 
63
 
 
64
Please e-mail me with any comments, problems and success stories:
 
65
Jonathan Riddell, jr@jriddell.org