Re: Driver module access to filesystem

Andrew Bray (
3 Apr 1997 13:53:54 +0100

In article <9704030713.AA21657@dcl.MIT.EDU>,
Theodore Y. Ts'o <> wrote:
>Umm.... it adds kernel bloat? Why have initialization code that needs
>to be able open files and read them? A much simpler way is to have an
>ioctl which loads the firmware, and then having a program which handles
>the firmware load. This is hardly a "gratuitous daemon" which has to be
>running all the time.

This approach has a problem: there becomes the necessity to have a support
program to accompany the kernel driver, which may require the download of a
separate package for the download program.

IMHO, a better approach would be to have a /proc entry that was a firmware
download port, then all the /etc/rc script would have to do is copy the
firmware to the /proc file. No ioctls, simple for the user to use and
understand. Minimal kernel bloat.

Just my 0.02 worth.



Andrew Bray                         |  preferred:
London, England                     |  or:
PGP fingerprint:              26 B5 42 C6 F4 00 B2 71 BA EA 9B 81 6C 65 59 07