Messages in this thread | | | Subject | Re: [RFC] New Driver Model for 2.5 | Date | Thu, 25 Oct 2001 13:42:45 +0100 (BST) | From | Alan Cox <> |
| |
> If you have a acpi deamon that decides to make the machine go to sleep > while burning a CD, that's nothign to do with the kernel at all.
One job kernel drivers have is to say "I can't safely sleep at this moment" Even windows/XP beta gets this right.
> The kernel does not set policy. If the user says "suspend now", then we > suspend now. Whether a CD burn or anything else is going on is totally > irrelevant.
I know what the end user viewpoint on that would be. In a sense I do agree with you - but that would assume we could re-invent every single scsi generic driver, figure out how to make /proc/sg/%d/... work and the like
> But if I say "suspend", and the kernel refuses, I will kill the offending > piece of crap from sg.c before you can blink an eye.
Thats fine by me. Anyone wanting to be able to burn cds safely can run a -ac kernel tree
Alan - 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/
| |