📄 faq.txt
字号:
Frequently Asked Questions about the HFS filesystem for Linux Paul H. Hargrove, hargrove@sccm.Stanford.EDU version 1.0.3, 27 Apr 1997 This document provides answers to some of the most frequently asked questions about the HFS filesystem for Linux. It is currently pretty rough and totally unorganized. Corrections, additions and clarifica- tions are appreciated. The most current version of this document is kept on The HFS for Linux Page <http://www-sccm.Stanford.EDU/~har- grove/HFS/>. ______________________________________________________________________ Table of Contents: 1. What is this FAQ about? 2. What is HFS? 3. How I mount AppleShare volumes? 4. What is the current version of the HFS filesystem. 5. How stable is the current version? 6. Is there a mailing list for discussion of the HFS filesystem? 7. What version of Linux do I need to be running? 8. Will it run on my (your processor type here)? 9. Will it run under (your non-Linux operating system here)? 10. Why can I mount some HFS CDROMs but not others? 11. What does ``only 1024-char blocks implemented (512)'' mean? 12. Why do I get a message about a bad or unknown partition table? 13. Can I mount multiple HFS partitions from the same Macintosh disk? 14. In what ways can I write to HFS filesystems? 15. Does the HFS filesystem work with 400 kB or 800 kB Macintosh diskettes? 16. How can I format an HFS filesystem? 17. How can I fsck an HFS filesystem? 18. Why do I get ``error -50'' messages from my Mac when using netatalk? 19. Why does my Macintosh show generic application and document icons? 20. How owns all the copyrights and trademarks? ;-) 20.1. This Document 20.2. The Software 20.3. Trademarks ______________________________________________________________________ 11.. WWhhaatt iiss tthhiiss FFAAQQ aabboouutt?? This FAQ is about the HFS filesystem for Linux, which is available in two forms. The stand-alone version (called hfs_fs) is a Linux kernel loadable module implementing the Macintosh HFS filesystem. The HFS filesystem is also included in some distributions of the Linux kernel source (in the directory linux/fs/hfs). This version can be compiled as a loadable module or compiled into the kernel. Either version allows a machine running Linux to read and write disks from a Macintosh (almost) as though they were native Linux disks. 22.. WWhhaatt iiss HHFFSS?? HFS stands for ``Hierarchical File System'' and is the filesystem used by the Mac Plus and all later Macintosh models. Earlier Macintosh models used MFS (``Macintosh File System''), which is not supported. 33.. HHooww II mmoouunntt AApppplleeSShhaarree vvoolluummeess?? The HFS filesystem is for mounting local filesystems only. There is an experimental afpfs by Ben Hekster heksterb@acm.org available from http://www.odyssey.co.il/~heksterb/Software/afpfs/. 44.. WWhhaatt iiss tthhee ccuurrrreenntt vveerrssiioonn ooff tthhee HHFFSS ffiilleessyysstteemm.. As of version 1.0.3 of this FAQ, version 0.95 is the most recent. You can always find the most recent version on The HFS for Linux Page <http://www-sccm.Stanford.EDU/~hargrove/HFS/>. Announcements of new versions are made to the comp.os.linux.announce newsgroup. 55.. HHooww ssttaabbllee iiss tthhee ccuurrrreenntt vveerrssiioonn?? Version 0.95 is considered to be ``beta'' software, so I recommend making backups of anything important before you start playing. It is relatively free of bugs due to lots of testing of the previous releases. After a suitable period without new bugs the I will consider the software to be ``stable'' and the version number will jump to 1.0. 66.. IIss tthheerree aa mmaaiilliinngg lliisstt ffoorr ddiissccuussssiioonn ooff tthhee HHFFSS ffiilleessyysstteemm?? There is no mailing list devoted exclusively to the HFS filesystem. However, announcements of new versions are posted to the ``linux- atalk'' and ``hfs-interest'' lists. I will see bug reports sent to those lists but e-mail is more reliable (hargrove@sccm.Stanford.EDU). To subscribe to hfs-interest send e-mail with a body of ``subscribe hfs-interest (your e-mail address)'' to majordomo@ccs.neu.edu. To subscribe to linux-atalk send e-mail with a body of ``SUBSCRIBE LINUX-ATALK (Your full name)'' to listserv@netspace.org. 77.. WWhhaatt vveerrssiioonn ooff LLiinnuuxx ddoo II nneeeedd ttoo bbee rruunnnniinngg?? To compile and use the stand-alone distribution of the HFS filesystem you will need Linux kernel version 2.0.1 or newer compiled with modules enabled (CONFIG_MODULES). To compile you will need the kernel headers which match the kernel you are running. This is covered in more detail in the installation instructions in INSTALL.txt. If your kernel came with HFS in the kernel source tree then HFS should work with your Linux version. There may be small problems with a few of the development kernel releases. For these releases check the HFS for Linux Page <http://www-sccm.Stanford.EDU/~hargrove/HFS/> for patches. 88.. WWiillll iitt rruunn oonn mmyy ((yyoouurr pprroocceessssoorr ttyyppee hheerree))?? The code is carefully written to be independent of your processor's word size and byte-order, so if your machine runs Linux it can run the HFS filesystem. However some younger ports don't yet have support for loadable modules. Note that HFS is tested most extensively on Intel platforms. So there could be subtle compilation problems on other platforms. If you encounter any that are not addressed by the documentation then please let me know. 99.. WWiillll iitt rruunn uunnddeerr ((yyoouurr nnoonn--LLiinnuuxx ooppeerraattiinngg ssyysstteemm hheerree))?? No. There is a port in progress to NetBSD. I know of no other active porting attempts. If you are interested in porting the HFS filesystem to another Unix-like operating system, I am interested in providing what guidance I can. 1100.. WWhhyy ccaann II mmoouunntt ssoommee HHFFSS CCDDRROOMMss bbuutt nnoott ootthheerrss?? In the past there was a known incompatibility with some ``hybrid'' CDROMs that appear as HFS disks on Macs and as ISO9660 disks on other systems. I think I have fixed the problem. So, if you encounter this particular problem or have problems with specific non-hybrid CDROMs please e-mail me with the title and manufacturer of the CD. 1111.. WWhhaatt ddooeess ````oonnllyy 11002244--cchhaarr bblloocckkss iimmpplleemmeenntteedd ((551122))'''' mmeeaann?? This message comes from the kernel and indicates that an attempt was made to read a 512-byte block from a device that doesn't support 512-byte blocks. The HFS filesystem only works with 512-byte blocks, and therefore doesn't function with these devices. Eventually it may be able to use 1024-byte (or even 2048-byte) blocks when necessary. Ideally the device driver should be enhanced to support 512-byte blocks so that the various filesystems which need 512-byte blocks don't each need to work around it.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -