4 #ifndef RUDIMENTS_FILESYSTEM_H
5 #define RUDIMENTS_FILESYSTEM_H
7 #include <rudiments/private/filesystemincludes.h>
9 class filesystemprivate;
38 bool initialize(
const char *path);
44 bool initialize(int32_t fd);
47 int64_t getType()
const;
50 int64_t getBlockSize()
const;
53 int64_t getOptimumTransferBlockSize()
const;
57 int64_t getTotalBlocks()
const;
60 int64_t getFreeBlocks()
const;
64 int64_t getAvailableBlocks()
const;
67 int64_t getTotalFileNodes()
const;
70 int64_t getFreeFileNodes()
const;
74 int64_t getAvailableFileNodes()
const;
77 int64_t getFileSystemId()
const;
81 int64_t getMaximumFileNameLength()
const;
84 uid_t getOwner()
const;
88 int64_t getSyncWrites()
const;
92 int64_t getAsyncWrites()
const;
95 const char *getTypeName()
const;
98 const char *getMountPoint()
const;
102 int64_t getSyncReads()
const;
106 int64_t getAsyncReads()
const;
109 const char *getDeviceName()
const;
112 const char *getFilesystemSpecificString()
const;
117 bool getCurrentProperties();
122 void *getInternalFilesystemStatisticsStructure();
124 #include <rudiments/private/filesystem.h>