# File lib/fusefs.rb, line 26 def FuseFS.exit @running = false end
# File lib/fusefs.rb, line 11 def FuseFS.run fd = FuseFS.fuse_fd begin io = IO.for_fd(fd) rescue Errno::EBADF raise "fuse is not mounted" end while @running IO.select([io]) FuseFS.process end end
# File lib/fusefs.rb, line 23 def FuseFS.unmount system("umount #{@mountpoint}") end