haiku/docs/develop
Jim906 342a1b221b FAT: revise using code from FreeBSD
* Rewrite most hook functions, modeling many after FreeBSD hooks and
  making use of support functions ported from FreeBSD. As it stands
  now, most of the FreeBSD driver files are present with minimal
  changes, with a pseudo-BSD compatability layer added to make them
  work in Haiku. Performance is not what it could be if the BSD code
  was rewritten to interface directly with the Haiku kernel, but under
  the current approach the driver might be easier to maintain in terms
  of porting future FreeBSD bugfixes.
* Add support for FAT in userlandfs. Aside from being useful for
  debugging, the userlandfs module provides better filename support
  for characters that are not in code page 850, because it can link
  libiconv.
* Update the fat_test.sh script to use dosfstools to format the tested
  device, instead of the internal dosfs_initialize hook. The script
  is written to test specific cluster sizes, but the initialize hook
  still does not support user-specified cluster sizes.
* Coding guidelines: lightly-modified BSD files and lightly-modified
  original Haiku driver files have not been revised to adhere to the
  Haiku style guidelines. For BSD files, this is meant to make it
  easier to compare with the FreeBSD repository when merging future
  FreeBSD patches. For existing driver files, this is to highlight the
  functional changes made in this change request (I can submit a
  separate patch later to clean up style in these files). Also, some
  #include lines are not alphbetized (they are instead ordered like
  they would be in FreeBSD, because one header relies on another).

Change-Id: I92521d4b700d7aa52fe6c664cf8f83a4d9395809
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7660
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2024-07-09 06:40:55 +00:00
..
apps/haikudepot Generate developer docs with Sphinx 2021-08-27 11:41:17 +00:00
build rc: migrate documentation to Haiku internals pages 2024-04-29 13:58:59 +02:00
busses Generate developer docs with Sphinx 2021-08-27 11:41:17 +00:00
drivers docs/develop: introduce intermediate index for each section 2023-01-19 22:09:22 +00:00
file_systems FAT: revise using code from FreeBSD 2024-07-09 06:40:55 +00:00
kernel docs: remove TODO item for ARM Accessed and Modifed page flags 2023-06-19 20:49:48 +00:00
kits Debugger: Add UML class diagram 2023-06-08 11:46:23 +00:00
libroot docs/develop: documentation about the C library and features.h 2023-02-08 08:18:59 +00:00
media media_kit: Move some files and headers under docs/develop/media 2017-01-16 22:53:44 +01:00
midi Generate developer docs with Sphinx 2021-08-27 11:41:17 +00:00
net docs/develop: introduce intermediate index for each section 2023-01-19 22:09:22 +00:00
packages develop docs: fix packages/Readme links 2023-03-19 00:59:32 +00:00
partitioning_systems Generate developer docs with Sphinx 2021-08-27 11:41:17 +00:00
release docs/develop: Add missed item to the branch steps and combine the last two. 2022-11-08 12:45:03 -05:00
servers Fix typo 2023-04-29 22:46:03 +02:00
conf.py
index.rst Debugger: Add UML class diagram 2023-06-08 11:46:23 +00:00
Makefile Generate developer docs with Sphinx 2021-08-27 11:41:17 +00:00
TODO Generate developer docs with Sphinx 2021-08-27 11:41:17 +00:00