mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 12:15:07 +00:00
Kernel: Hook Ramdisk devices inside DevFS
This commit is contained in:
parent
225957283e
commit
a2601e1308
1 changed files with 3 additions and 0 deletions
|
@ -409,6 +409,9 @@ String DevFSDeviceInode::determine_name() const
|
|||
char drive_letter = (u8)drive_index;
|
||||
return String::format("hd%c", drive_letter);
|
||||
}
|
||||
case 6: {
|
||||
return String::formatted("ramdisk{}", m_attached_device->minor());
|
||||
}
|
||||
|
||||
case 100:
|
||||
// FIXME: Try to not hardcode a maximum of 16 partitions per drive!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue