4 #ifndef RUDIMENTS_FILESYSTEM_H 5 #define RUDIMENTS_FILESYSTEM_H 7 #include <rudiments/private/filesystemincludes.h> 37 bool open(
const char *path);
43 bool open(int32_t fd);
51 bool getCurrentProperties();
54 int64_t getType()
const;
57 int64_t getBlockSize()
const;
60 int64_t getOptimumTransferBlockSize()
const;
64 int64_t getTotalBlocks()
const;
67 int64_t getFreeBlocks()
const;
71 int64_t getAvailableBlocks()
const;
75 int64_t getReservedBlocks()
const;
78 int64_t getTotalFileNodes()
const;
81 int64_t getFreeFileNodes()
const;
85 int64_t getAvailableFileNodes()
const;
89 int64_t getReservedFileNodes()
const;
92 int64_t getFileSystemId()
const;
96 int64_t getMaximumFileNameLength()
const;
99 uid_t getOwner()
const;
103 int64_t getSyncWrites()
const;
107 int64_t getAsyncWrites()
const;
110 const char *getTypeName()
const;
113 const char *getMountPoint()
const;
117 int64_t getSyncReads()
const;
121 int64_t getAsyncReads()
const;
124 const char *getDeviceName()
const;
127 const char *getFilesystemSpecificString()
const;
132 void *getInternalFilesystemStatisticsStructure();
134 #include <rudiments/private/filesystem.h> Definition: filesystem.h:16