Merge tag 'linux-watchdog-5.19-rc1' of git://www.linux-watchdog.org/linux-watchdog
[linux-2.6-block.git] / Documentation / filesystems / befs.rst
CommitLineData
c54ad9a4
MCC
1.. SPDX-License-Identifier: GPL-2.0
2
3=========================
1da177e4 4BeOS filesystem for Linux
c54ad9a4 5=========================
1da177e4
LT
6
7Document last updated: Dec 6, 2001
8
c54ad9a4 9Warning
1da177e4
LT
10=======
11Make sure you understand that this is alpha software. This means that the
c54ad9a4 12implementation is neither complete nor well-tested.
1da177e4 13
d6bc8ac9 14I DISCLAIM ALL RESPONSIBILITY FOR ANY POSSIBLE BAD EFFECTS OF THIS CODE!
1da177e4 15
c54ad9a4
MCC
16License
17=======
18This software is covered by the GNU General Public License.
1da177e4
LT
19See the file COPYING for the complete text of the license.
20Or the GNU website: <http://www.gnu.org/licenses/licenses.html>
21
c54ad9a4
MCC
22Author
23======
1da177e4
LT
24The largest part of the code written by Will Dyson <will_dyson@pobox.com>
25He has been working on the code since Aug 13, 2001. See the changelog for
26details.
27
28Original Author: Makoto Kato <m_kato@ga2.so-net.ne.jp>
c54ad9a4 29
992caacf 30His original code can still be found at:
1da177e4 31<http://hp.vector.co.jp/authors/VA008030/bfs/>
c54ad9a4 32
1da177e4
LT
33Does anyone know of a more current email address for Makoto? He doesn't
34respond to the address given above...
35
4c74916f 36This filesystem doesn't have a maintainer.
1da177e4 37
c54ad9a4
MCC
38What is this Driver?
39====================
40This module implements the native filesystem of BeOS http://www.beincorporated.com/
1da177e4
LT
41for the linux 2.4.1 and later kernels. Currently it is a read-only
42implementation.
43
44Which is it, BFS or BEFS?
c54ad9a4
MCC
45=========================
46Be, Inc said, "BeOS Filesystem is officially called BFS, not BeFS".
1da177e4 47But Unixware Boot Filesystem is called bfs, too. And they are already in
992caacf 48the kernel. Because of this naming conflict, on Linux the BeOS
1da177e4
LT
49filesystem is called befs.
50
c54ad9a4 51How to Install
1da177e4
LT
52==============
53step 1. Install the BeFS patch into the source code tree of linux.
54
55Apply the patchfile to your kernel source tree.
56Assuming that your kernel source is in /foo/bar/linux and the patchfile
57is called patch-befs-xxx, you would do the following:
58
59 cd /foo/bar/linux
60 patch -p1 < /path/to/patch-befs-xxx
61
62if the patching step fails (i.e. there are rejected hunks), you can try to
c54ad9a4 63figure it out yourself (it shouldn't be hard), or mail the maintainer
1da177e4
LT
64(Will Dyson <will_dyson@pobox.com>) for help.
65
6c28f2c0 66step 2. Configuration & make kernel
1da177e4
LT
67
68The linux kernel has many compile-time options. Most of them are beyond the
69scope of this document. I suggest the Kernel-HOWTO document as a good general
c54ad9a4 70reference on this topic. http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO-4.html
1da177e4 71
c54ad9a4 72However, to use the BeFS module, you must enable it at configure time::
1da177e4
LT
73
74 cd /foo/bar/linux
75 make menuconfig (or xconfig)
76
77The BeFS module is not a standard part of the linux kernel, so you must first
78enable support for experimental code under the "Code maturity level" menu.
79
80Then, under the "Filesystems" menu will be an option called "BeFS
81filesystem (experimental)", or something like that. Enable that option
82(it is fine to make it a module).
83
84Save your kernel configuration and then build your kernel.
85
86step 3. Install
87
88See the kernel howto <http://www.linux.com/howto/Kernel-HOWTO.html> for
89instructions on this critical step.
90
c54ad9a4 91Using BFS
1da177e4
LT
92=========
93To use the BeOS filesystem, use filesystem type 'befs'.
94
c54ad9a4
MCC
95ex::
96
1da177e4
LT
97 mount -t befs /dev/fd0 /beos
98
c54ad9a4 99Mount Options
1da177e4 100=============
c54ad9a4
MCC
101
102============= ===========================================================
1da177e4
LT
103uid=nnn All files in the partition will be owned by user id nnn.
104gid=nnn All files in the partition will be in group nnn.
105iocharset=xxx Use xxx as the name of the NLS translation table.
106debug The driver will output debugging information to the syslog.
c54ad9a4 107============= ===========================================================
1da177e4 108
c54ad9a4 109How to Get Lastest Version
1da177e4
LT
110==========================
111
112The latest version is currently available at:
113<http://befs-driver.sourceforge.net/>
114
c54ad9a4
MCC
115Any Known Bugs?
116===============
1da177e4 117As of Jan 20, 2002:
c54ad9a4 118
1da177e4
LT
119 None
120
c54ad9a4 121Special Thanks
1da177e4
LT
122==============
123Dominic Giampalo ... Writing "Practical file system design with Be filesystem"
c54ad9a4 124
1da177e4
LT
125Hiroyuki Yamada ... Testing LinuxPPC.
126
127
128