Accessing BFS outside of Haiku

Accessing BFS outside of Haiku

What is FUSE? FUSE is an acronym for "Filesystem in USErspace" and in essence allows an operating system to communicate with a file system through a userland progam. By providing this functionality outside of kernel space, adding support for a new filesystem is a simple matter of installing the respective FUSE module. As a comparison, the typical paradigm involves altering the operating system's kernel to support the filesystem. For more information, visit the FUSE project page.

The initial implementation of a BFS FUSE module was added in hrev31409

Pre-requisites

APT-based GNU/Linux Distribution (Debian, Ubuntu...)

sudo apt-get install libfuse-dev

BSD Based Distribution

sudo portinstall sysutils/fusefs-kmod sysutils/fusefs-libs

Building the BFS FUSE module from source

cd /path/haiku/haiku/
jam '<build>bfs_fuse'

Mounting your BFS partition

In this example, /dev/sdaX is the BFS partition you wish to mount.

mkdir /path/to/mountPoint
/path/to/bfs_fuse /dev/sdaX /path/to/mountPoint

At this point, your BFS partition should be mounted at /path/to/mountPoint.