Can the kernel access /?

From: Matt (
Date: Fri Apr 27 2001 - 09:28:04 EST

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



To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Apr 30 2001 - 21:00:18 EST