Re: ANNOUNCE: /dev/bios - flash rom bios driver

chip@atlantic.net
Wed, 11 Feb 1998 09:12:33 -0500 (EST)


According to Dr. Werner Fink:
> > With this driver it's possible to do things like
> > dd if=/bios.bin of=/dev/bios bs=128k count=1
>
> What's about mistakes? This interface is very easy and
> therefore it _is_ very dangerous, isn't it?

I agree. Perhaps the device should require that writing take place
at an offset greater than zero ("dd oskip=1k"?), and attempts to
write at offset zero should result in an immediate EINVAL or some
such error?

-- 
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