From 2aacca4469447d97cb843e109ac2914193ef8ae3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 6 Aug 2007 00:03:49 +0000 Subject: [PATCH] Brought the document up to date; triggered by an update to this document by Kamikazow which can be seen as an attachment to bug #1356. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21831 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- docs/develop/befs/resources.html | 57 +++++++++----------------------- 1 file changed, 15 insertions(+), 42 deletions(-) diff --git a/docs/develop/befs/resources.html b/docs/develop/befs/resources.html index c2d7f48960..8008424555 100644 --- a/docs/develop/befs/resources.html +++ b/docs/develop/befs/resources.html @@ -1,54 +1,27 @@ + - Documentation and Resources for writing BeOS File Systems + Resources for the Be File System -

Hints for BeOS File System Authors

+

Resources for the Be File System

-

Besides the example DOS file system that comes with the BeOS developers -stuff, there's also a CD-ROM file system example. If you installed the -optional stuff on the BeOS 5.0 Pro CD-ROM (or the developer's kit from the free -site), it's at: /boot/optional/sample-code/add-ons/iso9660 +

Probably the best resource for a description of the inner workings of BFS is the +book "Practical File System Design with the Be File System" written by Dominic +Giampaolo and published by Morgan Kaufmann Publishers. Although that book is out of +print, it's available as a free download from +Dominic's web site. -

On BeBits you can get source code -examples from a few programs, such as AtheOS FS (app 2028 on BeBits). There used to -be a copy of NTFS too with source (app -620 on BeBits), but the site seems to be down. There are also other file -systems there, but source is not included (some have it available on request). +

If you prefer to see how it works in code, please have a look at Haiku's BFS +implementation - you can find that in the SVN repository under +src/add-ons/kernel/file_systems/bfs/. This code is not mature yet, but is considered +to be fairly stable. -

Another useful source of information is the BeOS developer library -web site. It has some articles on file systems, the most relevant being -the One -File Network File System, which shows one way of combining a user space -program with a kernel file system stub. Another good one is about -the FSP (file system protocol). The prior issue describes what features -the BFS supports. There are lots of other tangentially related articles, -such as ones on device drivers, programming in kernel mode, debugging, etc. - -

There's also the very good Practical File System Design book -by Dominic Giampaolo, from Morgan Kaufmann -Publishers, read their catalog -entry for more info about the book. - -

Finally, there's Alexander G. -M. Smith's ongoing documentation of the file system API, condensed from all -these sources and from his continuing experiences with trying to write a RAM -file system. You can get the StyledEdit text file with the October -18 2001 version or check the BeOS directory on his site -for newer versions. - -

Last updated November 11, 2001 by AGMS. +

If you are interested in the Haiku file system API, please refer to its documentation +as part of the Haiku book.