ofs

Crates.ioofs
lib.rsofs
version0.0.5
sourcesrc
created_at2023-03-17 01:40:53.931239
updated_at2024-06-21 11:15:52.221144
descriptionOpenDAL File System
homepagehttps://opendal.apache.org/
repositoryhttps://github.com/apache/opendal
max_upload_size
id812240
size77,717
Xuanwo (Xuanwo)

documentation

README

OpenDAL File System

OpenDAL File System (ofs) is a userspace filesystem backing by OpenDAL.

Status

ofs is a work in progress. we only support fs and s3 as backend on Linux currently.

How to use ofs

Install FUSE on Linux

sudo pacman -S fuse3 --noconfirm # archlinux
sudo apt-get -y install fuse     # debian/ubuntu

Load FUSE kernel module on FreeBSD

kldload fuse

Install ofs

ofs could be installed by cargo:

cargo install ofs

cargo is the Rust package manager. cargo could be installed by following the Installation from Rust official website.

Mount directory

ofs <mount-point> 'fs://?root=<directory>'

Mount S3 bucket

ofs <mount-point> 's3://?root=<path>&bucket=<bucket>&endpoint=<endpoint>&region=<region>&access_key_id=<access-key-id>&secret_access_key=<secret-access-key>'

License and Trademarks

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

Apache OpenDAL, OpenDAL, and Apache are either registered trademarks or trademarks of the Apache Software Foundation.

Commit count: 2738

cargo fmt