mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +00:00
Kernel: Expose info about source devices of mounts in /proc/df
This commit is contained in:
parent
425c356288
commit
fde8f7f538
Notes:
sideshowbarker
2024-07-19 12:39:19 +09:00
Author: https://github.com/bugaevc
Commit: fde8f7f538
Pull-request: https://github.com/SerenityOS/serenity/pull/456
Reviewed-by: https://github.com/awesomekling ✅
5 changed files with 19 additions and 2 deletions
|
@ -14,7 +14,12 @@ Device::~Device()
|
|||
VFS::the().unregister_device({}, *this);
|
||||
}
|
||||
|
||||
String Device::absolute_path(const FileDescription&) const
|
||||
String Device::absolute_path() const
|
||||
{
|
||||
return String::format("device:%u,%u (%s)", m_major, m_minor, class_name());
|
||||
}
|
||||
|
||||
String Device::absolute_path(const FileDescription&) const
|
||||
{
|
||||
return absolute_path();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue