kernel: Do not automatically read the MBR partition table from /dev/cdrom
All checks were successful
continuous-integration/drone/pr Build is passing
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:
parent
21f043a7f0
commit
67e8a2dd4b
@ -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); */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user