kernel: Do not automatically read the MBR partition table from /dev/cdrom
All checks were successful
continuous-integration/drone/pr Build is passing

Since ff952cfe16 made /dev mounted from userspace, /dev/cdrom does not exist when ATA drives are scanned.
This commit is contained in:
apio 2023-06-03 21:06:42 +02:00
parent 21f043a7f0
commit 67e8a2dd4b
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -339,8 +339,8 @@ namespace ATA
} }
// FIXME: Do not hardcode the path like this. // FIXME: Do not hardcode the path like this.
auto inode = VFS::resolve_path("/dev/cdrom", Credentials {}).value(); /* auto inode = VFS::resolve_path("/dev/cdrom", Credentials {}).value();
MBR::identify(inode); MBR::identify(inode); */
} }
} }