Sure, do it from userland. Make a device node to which userland can write
the file you want. This nicely removes the policy problem of *which* file
to read from *what* location and puts it were it belongs: userland. With
this setup you can even read files from such exotic locations like other
servers or SQL databases.
If the driver needs to initiate the file reading, just startup a userland
helper that does the reads for you. See for example how the hotplug
subsystem calls /sbin/hotplug.
Erik
-- J.A.K. (Erik) Mouw J.A.K.Mouw@its.tudelft.nl mouw@nl.linux.org http://www-ict.its.tudelft.nl/~erik/ - 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/