Back to home page

OSCL-LXR

 
 

    


0001 .. SPDX-License-Identifier: GPL-2.0
0002 
0003 ======================================
0004 Macintosh HFSPlus Filesystem for Linux
0005 ======================================
0006 
0007 HFSPlus is a filesystem first introduced in MacOS 8.1.
0008 HFSPlus has several extensions to HFS, including 32-bit allocation
0009 blocks, 255-character unicode filenames, and file sizes of 2^63 bytes.
0010 
0011 
0012 Mount options
0013 =============
0014 
0015 When mounting an HFSPlus filesystem, the following options are accepted:
0016 
0017   creator=cccc, type=cccc
0018         Specifies the creator/type values as shown by the MacOS finder
0019         used for creating new files.  Default values: '????'.
0020 
0021   uid=n, gid=n
0022         Specifies the user/group that owns all files on the filesystem
0023         that have uninitialized permissions structures.
0024         Default:  user/group id of the mounting process.
0025 
0026   umask=n
0027         Specifies the umask (in octal) used for files and directories
0028         that have uninitialized permissions structures.
0029         Default:  umask of the mounting process.
0030 
0031   session=n
0032         Select the CDROM session to mount as HFSPlus filesystem.  Defaults to
0033         leaving that decision to the CDROM driver.  This option will fail
0034         with anything but a CDROM as underlying devices.
0035 
0036   part=n
0037         Select partition number n from the devices.  This option only makes
0038         sense for CDROMs because they can't be partitioned under Linux.
0039         For disk devices the generic partition parsing code does this
0040         for us.  Defaults to not parsing the partition table at all.
0041 
0042   decompose
0043         Decompose file name characters.
0044 
0045   nodecompose
0046         Do not decompose file name characters.
0047 
0048   force
0049         Used to force write access to volumes that are marked as journalled
0050         or locked.  Use at your own risk.
0051 
0052   nls=cccc
0053         Encoding to use when presenting file names.
0054 
0055 
0056 References
0057 ==========
0058 
0059 kernel source:          <file:fs/hfsplus>
0060 
0061 Apple Technote 1150     https://developer.apple.com/legacy/library/technotes/tn/tn1150.html