FUSE For FreeBSD Nearing Completion

Posted by Michael Larabel on March 10, 2012

The FUSE kernel module for the FreeBSD kernel to support file-systems in user-space is -- finally -- nearing completion.

Porting FUSE to a FreeBSD kernel module has been a long-time coming. The FreeBSD FUSE kernel module port originally began as a Google Summer of Code project, but it wasn't successful. In 2011, work on the port was restored via another year with Google Summer of Code, but at the end of the summer the FreeBSD FUSE implementation was still unstable and suffered data corruption issues. Now it seems that FreeBSD FUSE is finally getting hacked into shape and may be committed in the coming days.

Most Phoronix readers should already be very familiar with FUSE, but it allows for file-systems to be run in user-space. FUSE provides for a simple library API, an efficient kernel interface, support for running file-systems as non-privileged users, and can be quite easy to work with compared to writing a conventional file-system. Running the file-system in user-space can also mitigate some legal concerns for implementing support for a file-system that may be covered by patents or other legal restrictions and a proper native implementation would likely not make it into a mainline kernel. However, Linus Torvalds and others have called FUSE being for toys and misguided people.

Among the many FUSE-based file-systems has been Microsoft NTFS, LessFS, SDFS, and even Sun/Oracle ZFS.

Written to the freebsd-current list on Thursday was the following message:
Howdy,

I've taken the GSoC work done with the FUSE kernel module, and created a patch against HEAD which I have now subjected to testing using tools/regression/fsx.

The patch is here: http://people.freebsd.org/~gnn/head-fuse-1.diff

I would like to commit this patch in the next few days, so, please, if you care about this take a look and get back to me.

Thanks,
George

However, issues with the code have already been raised concerning bugs. Additionally, they're looking for a proper maintainer for FUSE within the FreeBSD kernel. Others meanwhile have called for getting it into the tree and then "thrash it until it's stable." But this also causes some concern, "No, please fix at least the dreadful bugs before committing. We have enough dead and buggy filesystems in the tree already." Let's see what happens but FUSE could be a feature for FreeBSD 10.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Raspberry Pi Gets New Wayland Weston Renderer
  2. Debian GNU/Hurd 2013 Release Brings New Packages
  3. Intel Ultrabook Performance Is Faster With Mesa 9.2
  4. Hot Relocation HDD To SSD Support For Btrfs
  5. Phoronix Test Suite 4.6.0 "Utsira" Released
  6. New Intel X.Org Driver Supports All Of Haswell
  7. SQLite Now Faster With Memory Mapped I/O
  8. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  9. Qt For Tizen Launches, Based On Qt 5.1
  10. KTAP Released For Linux Kernel Dynamic Tracing
  11. Linux 3.10-rc2 Kernel Takes In A Few Extra Pulls
Latest Forum Talk
  1. Humble Indie Bundle Finally Sells Out
  2. Linux's "Ondemand" Governor Is No...
  3. Hot Relocation HDD To SSD Support For Btrfs
  4. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  5. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  6. Debian GNU/Hurd 2013 Release Brings New Packages
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite