un-master
Group: Members
Posts: 19
Joined: April 2007 |
|
Posted: April 20 2007,04:07 |
|
Since I am wanting to avoid re-inventing the wheel, I hate to start with a make menuconfig and have to guess at what all the existing DSL kernel parameters are. After some searching, I came across sysctl, it can read and write parameters from a running kernel. Fortunately, it seems to be present and working!
Code Sample | bash-2.05b# sysctl -a error: unable to open directory '/proc/sys/' |
This was my clue (I have so few of them) to mount /proc:
Code Sample | mount -t proc none /proc | This produced a huge list of kernel parameters! I won't post them here. I wonder if I can pipe that output to a configuration file, so I won't have to simply step through each one and enter it....
EDIT: easy enough to pipe it to a text file anyway. I tried this and it worked:Code Sample | sysctl -a > sysctl.txt | Looking through it, it has lots and lots of settings for net.ipv4.conf.eth0 (5 pages) and dev.cdrom.info and nothing about soundcards, modules, etc. I checked it on a running Fedora Core 4 and Debian Sid systems, and they have similar output. Can I just run through make menuconfig plugging in values from this? That would be nice, less trial and error.
|