Click to See Complete Forum and Search --> : Hardware settings without linuxconf.


HuggyBear
03-02-2001, 10:58 AM
Is there a file the settings are stored in?
i.e. IRQ, I/O, etc ...

Thanks
Huggy

Lorithar
03-02-2001, 11:09 AM
*grins*

linux is wonderful.
ls /proc.
*whee*
its ALL there ...

these aren't 'settings' they are the real deal .. /proc is a virtual filesystem, doesn't exist on disk, but in the system itself. The data here is realtime views of what the kernel sees.

Some modules require direction to be pointed at the device which they operate... /proc/pci lists all the devices that the pci bus can see, their irq's and the memory addresses they are using ..
You could take the irq for that network card from /proc/pci and pass it to the module ... etc.

As for where your apps and whatnot expect things, /etc is where the config files are.... lots of em and good reading as a lot of them have helpful comments in them.

/usr/local/etc is where non system apps have a lot of config info.

[ 02 March 2001: Message edited by: Lorithar ]

HuggyBear
03-02-2001, 12:22 PM
I thought it would be proc but I didnt think you could open any of the "files" in therer with cat.

TANX