| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | config HFSPLUS_FS |
| 3 | tristate "Apple Extended HFS file system support" |
| 4 | depends on BLOCK |
| 5 | select BUFFER_HEAD |
| 6 | select NLS |
| 7 | select NLS_UTF8 |
| 8 | select LEGACY_DIRECT_IO |
| 9 | help |
| 10 | If you say Y here, you will be able to mount extended format |
| 11 | Macintosh-formatted hard drive partitions with full read-write access. |
| 12 | |
| 13 | This file system is often called HFS+ and was introduced with |
| 14 | MacOS 8. It includes all Mac specific filesystem data such as |
| 15 | data forks and creator codes, but it also has several UNIX |
| 16 | style features such as file ownership and permissions. |
| 17 | |
| 18 | config HFSPLUS_KUNIT_TEST |
| 19 | tristate "KUnit tests for HFS+ filesystem" if !KUNIT_ALL_TESTS |
| 20 | depends on HFSPLUS_FS && KUNIT |
| 21 | default KUNIT_ALL_TESTS |
| 22 | help |
| 23 | This builds KUnit tests for the HFS+ filesystem. |
| 24 | |
| 25 | KUnit tests run during boot and output the results to the debug |
| 26 | log in TAP format (https://testanything.org/). Only useful for |
| 27 | kernel devs running KUnit test harness and are not for inclusion |
| 28 | into a production build. |
| 29 | |
| 30 | For more information on KUnit and unit tests in general please |
| 31 | refer to the KUnit documentation in Documentation/dev-tools/kunit/. |