# File lib/fuse/rfusefs-fuse.rb, line 202 def mknod(ctx,path,mode,major,minor) return wrap_context(ctx,__method__,path,mode,major,minor) if ctx unless ((RFuse::Stat::S_IFMT & mode) == RFuse::Stat::S_IFREG ) && @root.can_write?(path) raise Errno::EACCES.new(path) end now = Time.now stat = RFuse::Stat.file(mode,{ :uid => Process.uid, :gid => Process.gid, :atime => now, :mtime => now, :ctime => now }) @created_files[path] = stat @adj_nodes += 1 end