I can see that. But since writing the BIOS is so seldom useful, and
is almost always dangerous, limiting the device interface to reading
and requiring an ioctl for writing should be adequate.
If the ioctl _enabled_ writing until the next close, rather than
performing it, then you could even make a utility that only calls
ioctl() on stdout, and then you could still use dd:
(enable_bios_write; dd if=bios.image) >/dev/bios
-- Chip Salzenberg - a.k.a. - <chip@pobox.com> "Nice shooting, Zanthar!" "Thanks, Denise." // MST3K- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu