The HyperNews Linux KHG Discussion Pages

Question: Filesystem access from inside a Kernel Module?

Forum: Device Drivers
Keywords: LM78 Modules
Date: Tue, 14 Apr 1998 09:58:03 GMT
From: Christian Treczoks <ct@braehler.com>

I'm currently writing a LM78/LM75 driver with certain extensions (multiple LM78/75, other devices on the I2C bus, etc).

I need to pass quite a bunch of parameters to the modules, so insmod parameters are simply impractical. Nicest way would be a configuration file like /etc/lm78.conf or something... but how do I access it? {Can I use|Do they exist at all}: sys_open(), sys_read() and sys_close()? (I haven't tried yet, and I'm going to bed soon...)

Yours, tired, Christian Treczoks


Messages