Can the kernel access /?

Matt (madmatt@bits.bris.ac.uk)
Fri, 27 Apr 2001 15:28:04 +0100 (BST)


I'm writing a device driver for a DSP card that requires some software
loaded onto the card for it to function, currently I'm copying the
software to the /dev node and the driver is doing the magic in it's
write() handler.

Can the driver pull the file from the filesystem if I were to pass the
path of the file as an argument on loading the module?

I'm not sure it can, but perhaps someone could settle my curiosity and
perhaps point me to some code that does this in the kernel?

I'm thinking that if it could, things like the P6 Microcode driver would
be perhaps done this way too...

Cheers

Matt

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