libfuse
php-fuse
libfuse | php-fuse | |
---|---|---|
21 | 2 | |
4,973 | 58 | |
0.8% | - | |
8.6 | 0.0 | |
7 days ago | 8 days ago | |
C | PHP | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
libfuse
-
Wddbfs – Mount a SQLite database as a filesystem
I suspect if you've run into problems with a lot of things built on FUSE, the problem is FUSE.
Yes, s3fs and sshfs can both leave the system in an unstable state. For example, there can be a dead mount which is impossible to unmount, and in severe cases, blocks a clean reboot.
A file system in user space (or in network space) should NEVER break the system, no matter what happens in user space (or in network space). Most network file systems try to respect this (albeit with mixed success). FUSE does not.
I'm not claiming FUSE cannot be made to work. Just that it's very bad since (1) plenty of smart people clearly failed to do so (2) the badness it leaves behind should be more than it's permitted to.
I can point to specific issues, but at the end of the day, that's neither here nor there. At the end of the day, something like:
https://github.com/libfuse/libfuse/blob/master/example/poll....
Is about a hundred times more complicated than it should be. It should not require memsets, pthread mutexes, or flags, and should probably have an implementation in a modern, high-level language. To a large extent, that's the point of moving things out of the kernel.
I'm even perhaps okay with being permitted to do low-level operations for a particularly performance-constrained subsystem, but that's not 95% of the uses of something like FUSE.
Footnote: I actually enjoyed writing low-level code like this a lot, when computers were in the single-digit to triple-digit MHz range, and we didn't need to worry about people breaking in over a ubiquitous worldwide internet, but I left that mindset behind decades ago. Right now, I want code to be stable, simple, auditable, and secure.
- Spacedrive – an open source cross-platform file explorer
-
Sensenmann: Code Deletion at Scale
I wrote the original version for a previous employer mostly in Python.
I was about to recreate a new version in Rust. And started with fixing up libfuse https://github.com/libfuse/libfuse/pulls?q=author%3Amatthias... and the Rust equivalent https://github.com/cloud-hypervisor/fuse-backend-rs/pulls?q=...
Your project is also interesting. I don't plan on ever adding write support. The old Python version was already using git as a library via gitpython, instead of shelling out via the command line. The new version will use Rust's gix.
Performance, even for the old Python version, was pretty decent. That probably came from using git via a library and being careful about fuse caching. The old version also already supported opening arbitrary commits, tags and branches, they were represented as different folders.
- [Engineering_Stuff] S3FS-FUSE - Permet de monter votre lien de seau S3 / Minio vers votre répertoire local
-
s3fs-fuse - allows to mount your s3/minio bucket link to your local directory
s3fs allows Linux, macOS, and FreeBSD to mount an S3 bucket via FUSE(Filesystem in Userspace). s3fs makes you operate files and directories in S3 bucket like a local file system. s3fs preserves the native object format for files, allowing use of other tools like AWS CLI.
- FUSE Filesystem
- I used Python libfuse bindings to build a filesystem on top of a immutable database
-
Rule
FUSEs your files
-
How to Use Sshfs on OpenBSD
The situation is much worse than I had imagined; the parent project, libfuse, is also in need of a maintainer.
https://github.com/libfuse/libfuse
- What is FUSE?
php-fuse
-
sj-i/php-fuse: PHP FFI bindings for libfuse. You can write your own filesystems in PHP.
The introduction of FFI in PHP was done with the reference to LuaJIT. As a result, FFI's CData is a completely dynamic type, similar to stdClass, and does not get proper support from the IDE or static analysis. For this reason, php-fuse has introduced a muddy mechanism to map CData to PHP classes. https://github.com/sj-i/php-fuse/tree/master/src/FFI It is a shame that CData is such a dynamic type since PHP nowadays is a language that easily benefits from static types, unlike Lua or Ruby. I'm hoping that I or someone else can come up with a better solution, such as allowing C types to be mapped to user-defined CData subclasses, as the idea was seen in the early discussions when FFI was introduced. https://externals.io/message/102036#102050
What are some alternatives?
VeraCrypt - Disk encryption with strong security based on TrueCrypt
php-ffi - PHP Foreign Function Interface
VL.Fuse - A library for visually programming on the GPU, built to enable rapid workflows and modular approaches to accelerated graphics, logic and computation.
phpstorm-stubs - PHP runtime & extensions header files for PhpStorm
squashfs-tools - tools to create and extract Squashfs filesystems
php-iup - php binding for IUP toolkit
sshfs - A network filesystem client to connect to SSH servers
reli-prof - A sampling profiler or a memory profiler for PHP written in PHP, which reads information about running PHP VM from outside the process. You can find performance bottlenecks or memory leaks of your scripts without changing the target script or loading extensions.
tagfs - Fuse tag file system
z-engine - :zap: PHP Engine Direct API
fuse-filesystem - In memory filesystem of top of FUSE
SFTPGo - Fully featured and highly configurable SFTP server with optional HTTP/S, FTP/S and WebDAV support - S3, Google Cloud Storage, Azure Blob