Skip to content
项目

关于

使用 Java Native Runtime (JNR) 在 Java 中实现的 FUSE

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

jnr-fuse

Build Status Join the chat at https://gitter.im/SerCeMan/jnr-fuse

jnr-fuse is a FUSE implementation in java using Java Native Runtime (JNR).

Project Goals

The main goal of the project is to provide an easy way to create a high-performance filesystem in userspace.

About technologies

FUSE (Filesystem in Userspace) is an OS mechanism for unix-like OS that lets non-privileged users create their own file systems without editing kernel code.

Java Native Runtime (JNR) is high-performance Java API for binding native libraries and native memory.

Get it

Prior to 0.5.5, jnr-fuse was only available in JCenter. Due to sunsetting of JCenter, starting from 0.5.5 is available in maven central.

Gradle

dependencies {
    compile 'com.github.serceman:jnr-fuse:0.5.8'
}

Maven

<dependencies>
    <dependency>
        <groupId>com.github.serceman</groupId>
        <artifactId>jnr-fuse</artifactId>
        <version>0.5.8</version>
    </dependency>
</dependencies>

How to use

For implementing your own filesystem you just need to extend FuseStubFS class and implement methods you need.

See some examples.

See blog article about the implementation

Projects using jnr-fuse

  • Alluxio: Alluxio is a memory-centric distributed storage system
  • Cryptomator: A user-friendly encryption tool for cloud storage services
  • mux2fs: Muxes subtitles into Matroska files as a FUSE filesystem
  • healthcare-api-dicom-fuse: FUSE plugin for the Google Cloud Healthcare DICOM API

Supported platforms

Supported platforms
Linux x64 x86
MacOS (via osxfuse) x64 x86
Windows (via winfsp) x64 n/a

Installation and troubleshooting

See instructions.

探索相关项目

加载中…