> Would it make sense to copy the check from wsdisplayopen() > instead of crashing in this case?
No. All read/write/ioctl/etc routines rely upon open doing the appropriate checks once, and failing if needed. But /dev/console blindly trusts the device being setup by consinit(), in which case /dev/ttyC0. > Or should we prevent that situation on higher level? Since efifb claimed the console, it should have attached.