mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:57:46 +00:00
Add a simple /bin/df which gathers its info from /proc/df.
This commit is contained in:
parent
7d288aafb2
commit
43075e5878
8 changed files with 119 additions and 0 deletions
|
@ -37,6 +37,11 @@ public:
|
|||
|
||||
bool is_readonly() const { return m_readonly; }
|
||||
|
||||
virtual unsigned total_block_count() const { return 0; }
|
||||
virtual unsigned free_block_count() const { return 0; }
|
||||
virtual unsigned total_inode_count() const { return 0; }
|
||||
virtual unsigned free_inode_count() const { return 0; }
|
||||
|
||||
struct DirectoryEntry {
|
||||
DirectoryEntry(const char* name, InodeIdentifier, byte file_type);
|
||||
DirectoryEntry(const char* name, size_t name_length, InodeIdentifier, byte file_type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue