Class FuseFS::Fuse::Root
In: lib/fuse/rfusefs-fuse.rb
Parent: Object

Implements RFuseFS via RFuse The path supplied to these methods is generally validated by FUSE itself with a prior "getattr" call so we do not revalidate here. sourceforge.net/apps/mediawiki/fuse/index.php?title=FuseInvariants

Methods

context   flush   fsync   ftruncate   getattr   getxattr   listxattr   mkdir   mknod   mounted   new   open   read   readdir   release   removexattr   rename   rmdir   setxattr   statfs   to_s   truncate   unlink   unmounted   utime   write  

Included Modules

Forwardable

Constants

CHECK_FILE = "/._rfuse_check_"

Public Class methods

Public Instance methods

ftruncate - eg called after opening a file for write without append sizes are adjusted at file close

Open. Create a FileHandler and store in fuse file info This will be returned to us in read/write No O_CREATE (mknod first?), no O_TRUNC (truncate first)

def symlink(path,as) end

Some random numbers to show with df command bsize preferred block size = 1K unless @root provides something different frsize = bsize (but apparently unused) blocks = total number of blocks bfree = number of free blocks bavail = bfree if mounted -o allow_other files = count of all files ffree - count of free file inode

@private - no doc

truncate a file outside of open files

def chown(path,uid,gid) end

[Validate]