fuse 0.3.1

Rust library for filesystems in userspace (FUSE)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
extern crate env_logger;
extern crate fuse;

use std::env;
use fuse::Filesystem;

struct NullFS;

impl Filesystem for NullFS {}

fn main() {
    env_logger::init().unwrap();
    let mountpoint = env::args_os().nth(1).unwrap();
    fuse::mount(NullFS, &mountpoint, &[]).unwrap();
}