mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 11:42:38 +03:00
ProcFS: Add "readonly" and "block_size" fields to /proc/df
This commit is contained in:
parent
c0bfea1b5c
commit
c246f2db4a
Notes:
sideshowbarker
2024-07-19 12:45:31 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/c246f2db4ad
@ -480,6 +480,8 @@ Optional<KBuffer> procfs$df(InodeIdentifier)
|
||||
fs_object.set("total_inode_count", fs.total_inode_count());
|
||||
fs_object.set("free_inode_count", fs.free_inode_count());
|
||||
fs_object.set("mount_point", mount.absolute_path());
|
||||
fs_object.set("block_size", fs.block_size());
|
||||
fs_object.set("readonly", fs.is_readonly());
|
||||
json.append(fs_object);
|
||||
});
|
||||
return json.serialized<KBufferBuilder>();
|
||||
|
Loading…
Reference in New Issue
Block a user