1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:17:35 +00:00

Kernel: Expose info about source devices of mounts in /proc/df

This commit is contained in:
Sergey Bugaev 2019-08-17 12:17:36 +03:00 committed by Andreas Kling
parent 425c356288
commit fde8f7f538
5 changed files with 19 additions and 2 deletions

View file

@ -7,6 +7,8 @@ class DiskBackedFS : public FS {
public:
virtual ~DiskBackedFS() override;
virtual bool is_disk_backed() const override { return true; }
DiskDevice& device() { return *m_device; }
const DiskDevice& device() const { return *m_device; }