2020-02-17 19:11:52 +03:00
.. SPDX-License-Identifier: GPL-2.0
=========================
2005-04-17 02:20:36 +04:00
BeOS filesystem for Linux
2020-02-17 19:11:52 +03:00
=========================
2005-04-17 02:20:36 +04:00
Document last updated: Dec 6, 2001
2020-02-17 19:11:52 +03:00
Warning
2005-04-17 02:20:36 +04:00
=======
Make sure you understand that this is alpha software. This means that the
2020-02-17 19:11:52 +03:00
implementation is neither complete nor well-tested.
2005-04-17 02:20:36 +04:00
2006-10-04 00:54:15 +04:00
I DISCLAIM ALL RESPONSIBILITY FOR ANY POSSIBLE BAD EFFECTS OF THIS CODE!
2005-04-17 02:20:36 +04:00
2020-02-17 19:11:52 +03:00
License
=======
This software is covered by the GNU General Public License.
2005-04-17 02:20:36 +04:00
See the file COPYING for the complete text of the license.
Or the GNU website: <http://www.gnu.org/licenses/licenses.html>
2020-02-17 19:11:52 +03:00
Author
======
2005-04-17 02:20:36 +04:00
The largest part of the code written by Will Dyson <will_dyson@pobox.com>
He has been working on the code since Aug 13, 2001. See the changelog for
details.
Original Author: Makoto Kato <m_kato@ga2.so-net.ne.jp>
2020-02-17 19:11:52 +03:00
2006-10-04 00:52:05 +04:00
His original code can still be found at:
2005-04-17 02:20:36 +04:00
<http://hp.vector.co.jp/authors/VA008030/bfs/>
2020-02-17 19:11:52 +03:00
2005-04-17 02:20:36 +04:00
Does anyone know of a more current email address for Makoto? He doesn't
respond to the address given above...
2011-08-13 23:34:59 +04:00
This filesystem doesn't have a maintainer.
2005-04-17 02:20:36 +04:00
2020-02-17 19:11:52 +03:00
What is this Driver?
====================
This module implements the native filesystem of BeOS http://www.beincorporated.com/
2005-04-17 02:20:36 +04:00
for the linux 2.4.1 and later kernels. Currently it is a read-only
implementation.
Which is it, BFS or BEFS?
2020-02-17 19:11:52 +03:00
=========================
Be, Inc said, "BeOS Filesystem is officially called BFS, not BeFS".
2005-04-17 02:20:36 +04:00
But Unixware Boot Filesystem is called bfs, too. And they are already in
2006-10-04 00:52:05 +04:00
the kernel. Because of this naming conflict, on Linux the BeOS
2005-04-17 02:20:36 +04:00
filesystem is called befs.
2020-02-17 19:11:52 +03:00
How to Install
2005-04-17 02:20:36 +04:00
==============
step 1. Install the BeFS patch into the source code tree of linux.
Apply the patchfile to your kernel source tree.
Assuming that your kernel source is in /foo/bar/linux and the patchfile
is called patch-befs-xxx, you would do the following:
cd /foo/bar/linux
patch -p1 < /path/to/patch-befs-xxx
if the patching step fails (i.e. there are rejected hunks), you can try to
2020-02-17 19:11:52 +03:00
figure it out yourself (it shouldn't be hard), or mail the maintainer
2005-04-17 02:20:36 +04:00
(Will Dyson <will_dyson@pobox.com>) for help.
2006-10-04 00:46:31 +04:00
step 2. Configuration & make kernel
2005-04-17 02:20:36 +04:00
The linux kernel has many compile-time options. Most of them are beyond the
scope of this document. I suggest the Kernel-HOWTO document as a good general
2020-02-17 19:11:52 +03:00
reference on this topic. http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO-4.html
2005-04-17 02:20:36 +04:00
2020-02-17 19:11:52 +03:00
However, to use the BeFS module, you must enable it at configure time::
2005-04-17 02:20:36 +04:00
cd /foo/bar/linux
make menuconfig (or xconfig)
The BeFS module is not a standard part of the linux kernel, so you must first
enable support for experimental code under the "Code maturity level" menu.
Then, under the "Filesystems" menu will be an option called "BeFS
filesystem (experimental)", or something like that. Enable that option
(it is fine to make it a module).
Save your kernel configuration and then build your kernel.
step 3. Install
See the kernel howto <http://www.linux.com/howto/Kernel-HOWTO.html> for
instructions on this critical step.
2020-02-17 19:11:52 +03:00
Using BFS
2005-04-17 02:20:36 +04:00
=========
To use the BeOS filesystem, use filesystem type 'befs'.
2020-02-17 19:11:52 +03:00
ex::
2005-04-17 02:20:36 +04:00
mount -t befs /dev/fd0 /beos
2020-02-17 19:11:52 +03:00
Mount Options
2005-04-17 02:20:36 +04:00
=============
2020-02-17 19:11:52 +03:00
============= ===========================================================
2005-04-17 02:20:36 +04:00
uid=nnn All files in the partition will be owned by user id nnn.
gid=nnn All files in the partition will be in group nnn.
iocharset=xxx Use xxx as the name of the NLS translation table.
debug The driver will output debugging information to the syslog.
2020-02-17 19:11:52 +03:00
============= ===========================================================
2005-04-17 02:20:36 +04:00
2020-02-17 19:11:52 +03:00
How to Get Lastest Version
2005-04-17 02:20:36 +04:00
==========================
The latest version is currently available at:
<http://befs-driver.sourceforge.net/>
2020-02-17 19:11:52 +03:00
Any Known Bugs?
===============
2005-04-17 02:20:36 +04:00
As of Jan 20, 2002:
2020-02-17 19:11:52 +03:00
2005-04-17 02:20:36 +04:00
None
2020-02-17 19:11:52 +03:00
Special Thanks
2005-04-17 02:20:36 +04:00
==============
Dominic Giampalo ... Writing "Practical file system design with Be filesystem"
2020-02-17 19:11:52 +03:00
2005-04-17 02:20:36 +04:00
Hiroyuki Yamada ... Testing LinuxPPC.