Skip to content

Instantly share code, notes, and snippets.

use std::ffi::CString;
use std::io;
use std::time::Duration;
extern crate fuse;
use fuse::fs::{NodeId, Request};
use fuse::Respond;
struct MyFS {}
--- osxfuse/v3.0.0/kext/fuse_kernel.h
+++ osxfuse/v3.0.2/kext/fuse_kernel.h
@@ -1,766 +1,768 @@
/*
This file defines the kernel interface of FUSE
Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu>
This program can be distributed under the terms of the GNU GPL.
See the file COPYING.
--- linux/v3.5/include/linux/fuse.h
+++ osxfuse/v3.0.0/kext/fuse_kernel.h
@@ -1,660 +1,766 @@
/*
- FUSE: Filesystem in Userspace
+ This file defines the kernel interface of FUSE
Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu>
This program can be distributed under the terms of the GNU GPL.
See the file COPYING.
--- macfuse/v1.7/core/10.5/fusefs/fuse_kernel.h
+++ macfuse/v2.0/core/10.5/fusefs/fuse_kernel.h
@@ -1,393 +1,439 @@
/*
This file defines the kernel interface of FUSE
Copyright (C) 2001-2007 Miklos Szeredi <miklos@szeredi.hu>
This program can be distributed under the terms of the GNU GPL.
See the file COPYING.
--- macfuse/v1.5/core/10.5/fusefs/fuse_kernel.h
+++ macfuse/v1.7/core/10.5/fusefs/fuse_kernel.h
@@ -1,385 +1,393 @@
/*
This file defines the kernel interface of FUSE
Copyright (C) 2001-2007 Miklos Szeredi <miklos@szeredi.hu>
This program can be distributed under the terms of the GNU GPL.
See the file COPYING.
--- macfuse/v1.0/core/10.5/fusefs/fuse_kernel.h
+++ macfuse/v1.5/core/10.5/fusefs/fuse_kernel.h
@@ -1,376 +1,385 @@
/*
This file defines the kernel interface of FUSE
Copyright (C) 2001-2007 Miklos Szeredi <miklos@szeredi.hu>
This program can be distributed under the terms of the GNU GPL.
See the file COPYING.
--- linux/v3.6/include/linux/fuse.h
+++ linux/v3.9/include/uapi/linux/fuse.h
@@ -1,677 +1,727 @@
/*
- FUSE: Filesystem in Userspace
+ This file defines the kernel interface of FUSE
Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu>
This program can be distributed under the terms of the GNU GPL.
See the file COPYING.