2b8ea938eaadd9a7e295c2f38efca035901f7041
This fixes lints for tests/tests.rs and adds a test for rename. The new rename test is based on the rename_no_replace tests. There are two discrepancies between Linux and Redox but I'm not sure if they matter. I added a note to those tests. There are two fixed lints of note. * assert_cmd deprecated Command::cargo_bin in favor of a compile time checked macro. * The mode literals were wrong: 0666 instead of 0o666. 0o is the prefix for octal literals.
RedoxFS
This is the default filesystem of Redox OS inspired by ZFS and adapted to a microkernel architecture.
(It's a replacement for TFS)
Current features:
- Compatible with Redox and Linux (FUSE)
- Copy-on-write
- Data/metadata checksums
- Transparent encryption
- Standard Unix file attributes
- File/directory size limit up to 193TiB (212TB)
- File/directory quantity limit up to 4 billion per 193TiB (2^32 - 1 = 4294967295)
- MIT licensed
- Disk encryption fully supported by the Redox bootloader, letting it load the kernel off an encrypted partition.
Being MIT licensed, RedoxFS can be bundled on GPL-licensed operating systems (Linux, for example).
Install RedoxFS
cargo install redoxfs
You can also build RedoxFS from this repository.
Configure your storage device to allow rootless usage
If you are on Linux you need root permission to acess block devices (storage), but it's recommended to run RedoxFS as rootless.
To do that you need to configure your storage device permission to your user with the following command:
sudo setfacl -m u:your-username:rw /path/to/disk
Create, mount and customize your RedoxFS partition
See the instructions in the book for RedoxFS tooling usage.
Currently RedoxFS tooling are:
redoxfsmount a RedoxFS diskredoxfs-arwrite files to a RedoxFS diskredoxfs-cloneclone a RedoxFS diskredoxfs-mkfscreate an empty RedoxFS diskredoxfs-resizeresize a RedoxFS disk
Description
RedBear Operating System, based on RedoxOS. Licenced under MIT license.
https://redbearos.org
Languages
C
43.9%
C++
23.5%
Makefile
7.3%
Python
3.7%
JavaScript
3.4%
Other
17.1%