Developer(s) | Be Inc. |
---|---|
Full name | Be File System |
Introduced | May 10, 1997 with BeOS Advanced Access Preview Release |
Partition identifier | Be_BFS (Apple Partition Map) 0xEB (MBR) |
Structures | |
Directory contents | B+ tree |
File allocation | inodes |
Bad blocks | inodes |
Limits | |
Max. volume size | ~2 EB * |
Max. file size | ~260 GB * |
Max. number of files | Unlimited |
Max. filename length | 255 characters |
Allowed characters in filenames | All UTF-8 but "/" |
Features | |
Dates recorded | Access, Creation, Modified |
Date range | Unknown |
Date resolution | 1s |
Forks | Yes |
Attributes | POSIX ACLs: Read, Write, Execute |
File system permissions | Yes, POSIX (RWX per owner, group and all) |
Transparent compression | No |
Transparent encryption | No |
Other | |
Supported operating systems | BeOS, ZETA, Haiku, SkyOS, Syllable |
The Be File System (BFS) is the native file system for the BeOS. In the Linux kernel, it is referred to as "BeFS" to avoid confusion with Boot File System.
BFS was developed by Dominic Giampaolo and Cyril Meurillon over a ten-month period, starting in September 1996, to provide BeOS with a modern 64-bit capable journaling file system. It is case-sensitive and capable of being used on floppy, hard disks and read-only media such as CD-ROMs. However, its use on small removable media is not advised, as the file-system headers consume from 600 KB to 2 MB, rendering floppy disks virtually useless.
Like its predecessor, OFS (Old Be File System, written by Benoit Schillings - formerly BFS), it includes support for extended file attributes (metadata), with indexing and querying characteristics to provide functionality similar to that of a relational database.
Whilst intended as a 64-bit-capable file system, the size of some on-disk structures mean that the practical size limit is approximately 2 exabytes. Similarly the extent-based file allocation reduces the maximum practical file size to approximately 260 gigabytes at best and as little as a few blocks in a pathological worst case, depending on the degree of fragmentation.
Its design process, application programming interface, and internal workings are, for the most part, documented in the book Practical File System Design with the Be File System.
In addition to the original 1996 BFS used in BeOS, there are several implementations for Linux. In early 1999, Makoto Kato developed a Be File System driver for Linux; however, the driver never reached a complete stable state, so in 2001 Will Dyson developed his own version of the Linux BFS driver.