hfsplus.rst 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. .. SPDX-License-Identifier: GPL-2.0
  2. ======================================
  3. Macintosh HFSPlus Filesystem for Linux
  4. ======================================
  5. HFSPlus is a filesystem first introduced in MacOS 8.1.
  6. HFSPlus has several extensions to HFS, including 32-bit allocation
  7. blocks, 255-character unicode filenames, and file sizes of 2^63 bytes.
  8. Mount options
  9. =============
  10. When mounting an HFSPlus filesystem, the following options are accepted:
  11. creator=cccc, type=cccc
  12. Specifies the creator/type values as shown by the MacOS finder
  13. used for creating new files. Default values: '????'.
  14. uid=n, gid=n
  15. Specifies the user/group that owns all files on the filesystem
  16. that have uninitialized permissions structures.
  17. Default: user/group id of the mounting process.
  18. umask=n
  19. Specifies the umask (in octal) used for files and directories
  20. that have uninitialized permissions structures.
  21. Default: umask of the mounting process.
  22. session=n
  23. Select the CDROM session to mount as HFSPlus filesystem. Defaults to
  24. leaving that decision to the CDROM driver. This option will fail
  25. with anything but a CDROM as underlying devices.
  26. part=n
  27. Select partition number n from the devices. This option only makes
  28. sense for CDROMs because they can't be partitioned under Linux.
  29. For disk devices the generic partition parsing code does this
  30. for us. Defaults to not parsing the partition table at all.
  31. decompose
  32. Decompose file name characters.
  33. nodecompose
  34. Do not decompose file name characters.
  35. force
  36. Used to force write access to volumes that are marked as journalled
  37. or locked. Use at your own risk.
  38. nls=cccc
  39. Encoding to use when presenting file names.
  40. References
  41. ==========
  42. kernel source: <file:fs/hfsplus>
  43. Apple Technote 1150 https://developer.apple.com/legacy/library/technotes/tn/tn1150.html