📄 faq.txt
字号:
1122.. WWhhyy ddoo II ggeett aa mmeessssaaggee aabboouutt aa bbaadd oorr uunnkknnoowwnn ppaarrttiittiioonn ttaabbllee?? If your Linux kernel doesn't understand Macintosh partition tables it gives this warning when it can't find a partition table it recognizes. To support partitioned media with such kernels, decoding of Mac partition tables is done by the HFS filesystem so you should still be able to mount the disk. However, to do so you will need to mount the raw device (such as /dev/sdb instead of /dev/sdb4) and use the part mount option to indicate which partition you want. 1133.. CCaann II mmoouunntt mmuullttiippllee HHFFSS ppaarrttiittiioonnss ffrroomm tthhee ssaammee MMaacciinnttoosshh ddiisskk?? Only if your kernel understands Macintosh partition tables. It the kernel doesn't understand the Macintosh partition table, the HFS filesystem must access the raw device. Therefore, the kernel thinks the entire drive is in use and prevents additional mounts on it. 1144.. IInn wwhhaatt wwaayyss ccaann II wwrriittee ttoo HHFFSS ffiilleessyysstteemmss?? The HFS filesystem is as capable as the MS-DOS or VFAT filesystems, except that certain things can only be done with a file's data fork. You ccaann: +o Create, delete and rename directories and data forks of files with the caveat that names are case insensitive (so foo and Foo are the same file or directory). +o Run Linux executables or shared libraries on an HFS disk if they are stored in the data fork of a file. +o Read, write and truncate both forks of files and the Finder's metadata of files and directories. +o Mmap data forks of files (and the resource fork if the filesystem is mounted with the fork=cap option). +o Toggle the 'w' permission bits (as a group) of data forks. +o Change the i_mtime of files and directories. You ccaannnnoott: +o Create, delete or rename resource forks of files or the Finder's metadata. Note, however, that they are created (with defaults values), deleted and renamed along with the corresponding data fork or directory. +o Run Linux executables or shared libraries on an HFS disk if they are stored in the resource fork of a file. +o Mmap the Finder's metadata (when fork=cap) or AppleDouble header files (when fork=double or fork=netatalk). +o Change permissions on directories. +o Change the uid or gid of files or directories. +o Set the set-uid, set-gid or sticky permission bits. +o Create multiple links to files. +o Create symlinks, device files, sockets or FIFOs. 1155.. DDooeess tthhee HHFFSS ffiilleessyysstteemm wwoorrkk wwiitthh 440000kk oorr 880000kk MMaacciinnttoosshh ddiisskkeetttteess?? Yes and no. The software is fully capable of dealing with HFS disks of any size. However, the 400k and 800k diskettes are written in a physical format that is incompatible with most non-Macintosh floppy drives. Note also that almost all 400k Macintosh diskettes are MFS, not HFS. 1166.. HHooww ccaann II ffoorrmmaatt aann HHFFSS ffiilleessyysstteemm?? Robert Leslie (rob@mars.org) has written a package for working with HFS filesystems (like mtools plus a graphical interface). One program in the package is hformat which can format HFS filesystems. The latest version can be found on the HFS Utilities home page <http://www.mars.org/home/rob/proj/hfs/>. 1177.. HHooww ccaann II ffsscckk aann HHFFSS ffiilleessyysstteemm?? Right now you'll have to use a Macintosh to do this. However, Rob Leslie is working on an fsck for HFS filesystems. 1188.. WWhhyy ddoo II ggeett ````eerrrroorr --5500'''' mmeessssaaggeess ffrroomm mmyy MMaacc wwhheenn uussiinngg nneettaattaallkk?? To be compatible with netatalk's afpd you will need to use netatalk version 1.4b1 or newer and mount the HFS filesystem with the ``afpd'' mount option. More information is provided in the ``afpd'' subsection of the ``Mount Options'' section of the HFS documentation (HFS.txt if you have the stand-alone HFS distribution or linux/Documentation/filesystems/hfs.txt if HFS is in your kernel source tree.) 1199.. WWhhyy ddooeess mmyy MMaacciinnttoosshh sshhooww ggeenneerriicc aapppplliiccaattiioonn aanndd ddooccuummeenntt iiccoonnss?? When using the ``afpd'' mount option the Desktop database on the disk is not made available to Netatalk's afpd. Because of this mounting an HFS filesystem across the network to a Macintosh may result in the Finder showing generic application and document icons. Additionally double clicking on a document will fail to start the correct application. If the disk is writable you can make Netatalk build a new Desktop database in its own format by holding down the Option key while selecting the volume in the Chooser. If the disk is not writable then these problems can be worked around by copying the application to a local disk on the Macintosh. 2200.. HHooww oowwnnss aallll tthhee ccooppyyrriigghhttss aanndd ttrraaddeemmaarrkkss?? ;;--)) 2200..11.. TThhiiss DDooccuummeenntt This document is Copyright (c) 1996, 1997 by Paul H. Hargrove. Permission is granted to make and distribute verbatim copies of this document provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this document under the conditions for verbatim copies above, provided a notice clearly stating that the document is a modified version is also included in the modified document. Permission is granted to copy and distribute translations of this document into another language, under the conditions specified above for modified versions. Permission is granted to convert this document into another media under the conditions specified above for modified versions provided the requirement to acknowledge the source document is fulfilled by inclusion of an obvious reference to the source document in the new media. Where there is any doubt as to what defines ``obvious'' the copyright owner reserves the right to decide. 2200..22.. TThhee SSooffttwwaarree The HFS filesystem software is Copyright (c) 1994-1997 by Paul H. Hargrove. The software is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. The software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the software in the file ``COPYING''; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 2200..33.. TTrraaddeemmaarrkkss +o ``Finder'' is a trademark of Apple Computer, Inc. +o ``Apple'', ``AppleShare'', and ``Macintosh'' are registered trademarks of Apple Computer, Inc. +o ``MS-DOS'' is a registered trademarks of Microsoft Corporation. +o All other trademarks are the property of their respective owners.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -