=========================================================
ϡ
linux-2.6.26.5/Documentation/filesystems/hfs.txt 
Ǥ
Ρ JF ץ < http://www.linux.or.jp/JF/ >
  2008/10/04
  Seiji Kaneko < skaneko at mbn dot or dot jp >
=========================================================

#Macintosh HFS Filesystem for Linux
Linux  Macintosh HFS ե륷ƥॵݡ
=================================================

#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,
#MacOS 8.1 and newer support a filesystem called HFS+ that's similar to
#HFS but is extended in various areas.  Use the hfsplus filesystem driver
#to access such filesystems from Linux.
HFS  "Hierarchical File System" ƬʸäΤǤꡢMac Plus ʹߤ
Macintosh ǻȤ줿ե륷ƥǤ Macintosh  MFS
(Macintosh File System) ȤäƤꡢMFS ϥݡȤƤޤMacOS 8.1
ʹߤǤ HFS ˶ᤤ͡˳ĥ줿 HFS+ ե륷ƥ򥵥ݡȤƤ
hfsplus ե륷ƥ Linux 饢ˤ hfsplus ե륷
ƥɥ饤ФѤƤ


#Mount options
ޥȥץ
==================
#
#When mounting an HFS filesystem, the following options are accepted:
HFS ե륷ƥޥȤݤˤϡʲΥץ󤬼ղǽǤ

  creator=cccc, type=cccc
#	Specifies the creator/type values as shown by the MacOS finder
#	used for creating new files.  Default values: '????'.
	եäݡMacOS  finder ˸ creator/type 
	ꤹ롣ͤ '????'
  uid=n, gid=n
#  	Specifies the user/group that owns all files on the filesystems.
#	Default:  user/group id of the mounting process.
	ե륷ƥΤ٤ƤΥեˤĤꤹ user/group Ǥ롣
	ͤϡޥȤԤʤäץ user/group Ǥ롣

  dir_umask=n, file_umask=n, umask=n
#	Specifies the umask used for all files , all directories or all
#	files and directories.  Defaults to the umask of the mounting process.
	٤ƤΥեȥǥ쥯ȥФꤹ umask Ǥ롣
	ϡޥȤԤʤäץ umask Ǥ롣
# ʸ

  session=n
#  	Select the CDROM session to mount as HFS filesystem.  Defaults to
#	leaving that decision to the CDROM driver.  This option will fail
#	with anything but a CDROM as underlying devices.
	CDROM å HFSPlus Υե륷ƥȤƥޥȤ롣
	ͤϡΤ褦ˤ뤫ɤȽǤ CDROM ɥ饤ФǤ롢Ǥ
	롣ΥץϡоݤΥǥХ CDROM ǤʤˤϼԤ롣

  part=n
#  	Select partition number n from the devices.  Does only makes
#	sense for CDROMS because they can't be partitioned under Linux.
#	For disk devices the generic partition parsing code does this
#	for us.  Defaults to not parsing the partition table at all.
	ǥХΥѡƥֹ n 򤹤롣Υץ CDROM
	ǰ̣ġʤʤ Linux Ǥ CDROM ϥѡƥʬǤ
	ʤǤ롣ǥǥХǤϡ̤Υѡƥϥ
	νԤʤͤϡѡƥơ֥βϤԤ
	ʤǤ롣

  quiet
#  	Ignore invalid mount options instead of complaining.
	ʥޥȥץˤĤơ顼ɽ̵뤹롣


#Writing to HFS Filesystems
HFS ե륷ƥؤν񤭹
================================

#HFS is not a UNIX filesystem, thus it does not have the usual features you'd
#expect:
HFS  Unix ե륷ƥǤϤޤ󡣽äơԤ̾εǽ
Ƥޤ

# o You can't modify the set-uid, set-gid, sticky or executable bits or the uid
#   and gid of files.
  o եФ set-uid, set-gid  sticky/¹ԥӥåȤʤɤǤ
    uid  gid ѹǤʤ
# o You can't create hard- or symlinks, device files, sockets or FIFOs.
  o ϡɥ󥯡ܥå󥯡ǥХե롢åȤ FIFO ʤ
    Ǥʤ

#HFS does on the other have the concepts of multiple forks per file.  These
#non-standard forks are represented as hidden additional files in the normal
#filesystems namespace which is kind of a cludge and makes the semantics for
#the a little strange:
ΰHFS ϰĤΥե뤬ʣΥ꥽եĤȤǰ
ƤޤɸǤʤեϡص̾Υե륷ƥ̾
ǤԲĻɲåեȤư졢̣Ū̯ʿ񤤤ȤʤäƤޤ

# o You can't create, delete or rename resource forks of files or the
#   Finder's metadata.
  o եΥ꥽ե Finder Υ᥿ǡ//̾ѹǤ
    ʤ
# o They are however created (with default values), deleted and renamed
#   along with the corresponding data fork or directory.
  o âбǡեǥ쥯ȥбǤϺ (ξ
    ͤȤ)//̾ѹǽǤ롣
# o Copying files to a different filesystem will loose those attributes
#   that are essential for MacOS to work.
  o ۤʤäե륷ƥ֤ǥե򥳥ԡ硢MacOS ưɬ
    ʤ°ηӤĤ롣


#Creating HFS filesystems
HFS ե륷ƥκ
==========================

#The hfsutils package from Robert Leslie contains a program called
#hformat that can be used to create HFS filesystem. See
#<http://www.mars.org/home/rob/proj/hfs/> for details.
Robert Leslie  hfsutils ѥåˡhformat ȤHFS ե륷
ƥ뤿ΥץबޤޤƤޤܺ٤
<http://www.mars.org/home/rob/proj/hfs/> 򻲹ͤˤƤ


#Credits
쥸å
==========

#The HFS drivers was written by Paul H. Hargrovea (hargrove@sccm.Stanford.EDU)
#and is now maintained by Roman Zippel (roman@ardistech.com) at Ardis
#Technologies.
HFS ɥ饤Ф Paul H. Hargrovea (hargrove@sccm.Stanford.EDU) ˤäƽ񤫤졢
ߤ Ardis Technologies Ҥ Roman Zippel (roman@ardistech.com) ݼ餷
Ƥ롣
#Roman rewrote large parts of the code and brought in btree routines derived
#from Brad Boyer's hfsplus driver (also maintained by Roman now).
Roman ϥɤʬ񤭴Brad Boyer  hfsplus ɥ饤Ф
btree 롼󤬰ܿƤ롣ʤhfsplus ɥ饤Ф Roman ˤݼ
Ƥ롣
