4 #ifndef RUDIMENTS_FILESYSTEM_H 5 #define RUDIMENTS_FILESYSTEM_H 7 #include <rudiments/private/filesystemincludes.h> 9 class filesystemprivate;
39 bool open(
const char *path);
45 bool open(int32_t fd);
53 bool getCurrentProperties();
56 int64_t getType()
const;
59 int64_t getBlockSize()
const;
62 int64_t getOptimumTransferBlockSize()
const;
66 int64_t getTotalBlocks()
const;
69 int64_t getFreeBlocks()
const;
73 int64_t getAvailableBlocks()
const;
77 int64_t getReservedBlocks()
const;
80 int64_t getTotalFileNodes()
const;
83 int64_t getFreeFileNodes()
const;
87 int64_t getAvailableFileNodes()
const;
91 int64_t getReservedFileNodes()
const;
94 int64_t getFileSystemId()
const;
98 int64_t getMaximumFileNameLength()
const;
101 uid_t getOwner()
const;
105 int64_t getSyncWrites()
const;
109 int64_t getAsyncWrites()
const;
112 const char *getTypeName()
const;
115 const char *getMountPoint()
const;
119 int64_t getSyncReads()
const;
123 int64_t getAsyncReads()
const;
126 const char *getDeviceName()
const;
129 const char *getFilesystemSpecificString()
const;
134 void *getInternalFilesystemStatisticsStructure();
136 #include <rudiments/private/filesystem.h> Definition: filesystem.h:18