简体   繁体   中英

A FUSE like file system

I need to develop my own file-system. The thing is that I only need a specific behavior in a few callbacks (such as read, write, open etc.) and I don't want to wast time on dealing with Inodes and creating a new FS from scratch.

I have once stumbled upon FUSE (file-system in user space), and that is almost every thing I need, except FUSE has over head (copy to and from user) because it is in user space.

Is there something like FUSE, but in kernel space? or is there a way to avoid the copy_to and copy_from?

Thanks,

If you want to save time, implement in FUSE and when your functionality is complete and stable, look to port it into the kernel.

It is likely that the copy performance will not be an impediment, so the kernel port can be avoided.

  • Rick "Premature optimization is a root evil"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM