Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am looking for a way to do deduplication for my Virtual Machines, I found a project called OpenDudup. It looks promising, it says it needs fuse as a dependancy. After looking up what fuse is, it left me with another question.

What make a file system is user space different from a file system in kernel space?

share|improve this question
    
You might want to check out the current state of microkernels, which effectively push as much as possible into userspace. –  new123456 Jul 19 '11 at 15:25

1 Answer 1

File systems in user space advantages:

  • Easier development
  • Nice user friendly package (FUSE) to give you a nice template. You have to worry only about getting the special parts of your file system to work.
  • Usable by non-privileged users.

Disadvantages:

  • Slower. Sometimes way way way slower.
  • Not good if you want multiple users to use the same file system at the same time.

Sometimes FUSE is the only way to get things to work though, so you're happy enough to live with the speed hit.

share|improve this answer
    
Oh, I just noticed. FUSE runs your file system code in user space. Userspace programming errors take down that program, not the whole system. Kernel space programming errors normally take down the whole system, plus, you don't get user isolation so you have to care a lot about security. –  Bruce ONeel Jul 19 '11 at 15:09
    
Ah I see there is a performance hit? –  Solignis Jul 19 '11 at 15:12
    
aand you can't boot off a FUSE FS ;p –  Journeyman Geek Jul 19 '11 at 15:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.