mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
Kernel: Make device generate their own names
Besides removing the monolithic DevFSDeviceInode::determine_name() method, being able to determine a device's name inside the /dev hierarchy outside of DevFS has its uses.
This commit is contained in:
parent
a2601e1308
commit
f64e287b82
29 changed files with 76 additions and 69 deletions
|
@ -58,6 +58,7 @@ public:
|
|||
uid_t gid() const { return m_gid; }
|
||||
|
||||
virtual mode_t required_mode() const = 0;
|
||||
virtual String device_name() const = 0;
|
||||
|
||||
virtual bool is_device() const override { return true; }
|
||||
virtual bool is_disk_device() const { return false; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue