Documentation ¶
Index ¶
Constants ¶
View Source
const ( Debug = false // mount with -o allowother Other = false // Try to use "mount" syscall instead of fusermount DirectMount = false // Allow to fall back to fusermount (probably doesn't matter given directMount false) DirectMountStrict = false // original FS is for the loopback root OriginalFS = "/" // Writes to /tmp/compatlibxxxx TemporaryDirname = "compatlib" // Name for the loopback filesystem LoopbackName = "loopback" // Default FS root under the mountpoint DefaultRootFS = "root" // Default FS cache under the mountpoint DefaultCacheFS = "cache" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllFileOps ¶
type AllFileOps interface { fs.FileReader fs.FileWriter fs.FileFlusher }
The custom Wrapper file allows us to carry forward the file handle
type WrapperFile ¶
type WrapperFile struct { AllFileOps Fid int }
We use this wrapperFile type to hold the file handle This way we can make a direct association between open and close
Click to show internal directories.
Click to hide internal directories.