28 #include "modules/system/vfs/Directory.h" 29 #include "modules/system/vfs/File.h" 30 #include "modules/system/vfs/Filesystem.h" 31 #include "pedigree/kernel/compiler.h" 32 #include "pedigree/kernel/processor/types.h" 33 #include "pedigree/kernel/utilities/Cache.h" 34 #include "pedigree/kernel/utilities/String.h" 52 virtual uintptr_t
readBlock(uint64_t location);
54 virtual void pinBlock(uint64_t location);
80 virtual bool addEntry(
String filename,
File *pFile);
82 virtual bool removeEntry(
File *pFile);
94 void setProcessOwnership(
bool bEnable)
96 m_bProcessOwners = bEnable;
99 bool getProcessOwnership()
const 101 return m_bProcessOwners;
110 return m_VolumeLabel;
120 virtual bool remove(
File *parent,
File *file);
125 static String m_VolumeLabel;
130 bool m_bProcessOwners;
virtual void pinBlock(uint64_t location)
virtual void cacheDirectoryContents()
void operator=(const Filesystem &)
bool createFile(const StringView &path, uint32_t mask, File *pStartNode=0)
virtual File * getRoot() const
virtual void unpinBlock(uint64_t location)
bool createDirectory(const StringView &path, uint32_t mask, File *pStartNode=0)
virtual uintptr_t readBlock(uint64_t location)
virtual bool initialise(Disk *pDisk)=0
virtual String getVolumeLabel() const
bool createSymlink(const StringView &path, const String &value, File *pStartNode=0)