mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +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
|
@ -62,6 +62,11 @@ public:
|
|||
virtual ~Ext2FS() override;
|
||||
virtual bool initialize() override;
|
||||
|
||||
virtual unsigned total_block_count() const override;
|
||||
virtual unsigned free_block_count() const override;
|
||||
virtual unsigned total_inode_count() const override;
|
||||
virtual unsigned free_inode_count() const override;
|
||||
|
||||
private:
|
||||
typedef unsigned BlockIndex;
|
||||
typedef unsigned GroupIndex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue