> > any way to catch the situation? I've thought that open should
> > return ENODEV in these cases, but it doesn't..
>
> screen, perhaps? this is most definitely not a linux-kernel question.
This is most probably a console driver question, which is
kernel-specific ;)
I wonder what should console driver say when it doesn't have a real physical
console behind it. IMO, this should be a ENODEV case, or some other way
to determine programmatically that this situation takes place.
So, I am trying to find someone familar with console driver on
linux-kernel (since this driver doesn't have a specific maintainer).
If I am wrong, and linux-kernel is not relevant, sorry..
-- Regards, Wartan. echo "Your stdio isn't very std." -- Larry Wall in Configure from the perl distribution- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/