blob: 79f9740d76ffcad9b0a0061f4635a44ef0e03cfa [file] [log] [blame]
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +01001.. SPDX-License-Identifier: GPL-2.0
2
3=========================
Linus Torvalds1da177e2005-04-16 15:20:36 -07004BeOS filesystem for Linux
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +01005=========================
Linus Torvalds1da177e2005-04-16 15:20:36 -07006
7Document last updated: Dec 6, 2001
8
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +01009Warning
Linus Torvalds1da177e2005-04-16 15:20:36 -070010=======
11Make sure you understand that this is alpha software. This means that the
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +010012implementation is neither complete nor well-tested.
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
Matt LaPlanted6bc8ac2006-10-03 22:54:15 +020014I DISCLAIM ALL RESPONSIBILITY FOR ANY POSSIBLE BAD EFFECTS OF THIS CODE!
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +010016License
17=======
18This software is covered by the GNU General Public License.
Linus Torvalds1da177e2005-04-16 15:20:36 -070019See the file COPYING for the complete text of the license.
20Or the GNU website: <http://www.gnu.org/licenses/licenses.html>
21
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +010022Author
23======
Linus Torvalds1da177e2005-04-16 15:20:36 -070024The 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>
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +010029
Matt LaPlante992caac2006-10-03 22:52:05 +020030His original code can still be found at:
Linus Torvalds1da177e2005-04-16 15:20:36 -070031<http://hp.vector.co.jp/authors/VA008030/bfs/>
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +010032
Linus Torvalds1da177e2005-04-16 15:20:36 -070033Does anyone know of a more current email address for Makoto? He doesn't
34respond to the address given above...
35
Marcos Souza4c749162011-08-13 12:34:59 -070036This filesystem doesn't have a maintainer.
Linus Torvalds1da177e2005-04-16 15:20:36 -070037
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +010038What is this Driver?
39====================
40This module implements the native filesystem of BeOS http://www.beincorporated.com/
Linus Torvalds1da177e2005-04-16 15:20:36 -070041for the linux 2.4.1 and later kernels. Currently it is a read-only
42implementation.
43
44Which is it, BFS or BEFS?
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +010045=========================
46Be, Inc said, "BeOS Filesystem is officially called BFS, not BeFS".
Linus Torvalds1da177e2005-04-16 15:20:36 -070047But Unixware Boot Filesystem is called bfs, too. And they are already in
Matt LaPlante992caac2006-10-03 22:52:05 +020048the kernel. Because of this naming conflict, on Linux the BeOS
Linus Torvalds1da177e2005-04-16 15:20:36 -070049filesystem is called befs.
50
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +010051How to Install
Linus Torvalds1da177e2005-04-16 15:20:36 -070052==============
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
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +010063figure it out yourself (it shouldn't be hard), or mail the maintainer
Linus Torvalds1da177e2005-04-16 15:20:36 -070064(Will Dyson <will_dyson@pobox.com>) for help.
65
Matt LaPlante6c28f2c2006-10-03 22:46:31 +020066step 2. Configuration & make kernel
Linus Torvalds1da177e2005-04-16 15:20:36 -070067
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
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +010070reference on this topic. http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO-4.html
Linus Torvalds1da177e2005-04-16 15:20:36 -070071
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +010072However, to use the BeFS module, you must enable it at configure time::
Linus Torvalds1da177e2005-04-16 15:20:36 -070073
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
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +010091Using BFS
Linus Torvalds1da177e2005-04-16 15:20:36 -070092=========
93To use the BeOS filesystem, use filesystem type 'befs'.
94
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +010095ex::
96
Linus Torvalds1da177e2005-04-16 15:20:36 -070097 mount -t befs /dev/fd0 /beos
98
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +010099Mount Options
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100=============
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +0100101
102============= ===========================================================
Linus Torvalds1da177e2005-04-16 15:20:36 -0700103uid=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.
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +0100107============= ===========================================================
Linus Torvalds1da177e2005-04-16 15:20:36 -0700108
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +0100109How to Get Lastest Version
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110==========================
111
112The latest version is currently available at:
113<http://befs-driver.sourceforge.net/>
114
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +0100115Any Known Bugs?
116===============
Linus Torvalds1da177e2005-04-16 15:20:36 -0700117As of Jan 20, 2002:
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +0100118
Linus Torvalds1da177e2005-04-16 15:20:36 -0700119 None
120
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +0100121Special Thanks
Linus Torvalds1da177e2005-04-16 15:20:36 -0700122==============
123Dominic Giampalo ... Writing "Practical file system design with Be filesystem"
Mauro Carvalho Chehabc54ad9a2020-02-17 17:11:52 +0100124
Linus Torvalds1da177e2005-04-16 15:20:36 -0700125Hiroyuki Yamada ... Testing LinuxPPC.
126
127
128