kernel: Do not automatically read the MBR partition table from /dev/cdrom

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 7593947c33
commit 72e798cedb
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

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