Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: .config
- To: tlug@example.com
- Subject: Re: .config
- From: Mike Fabian <mfabian@example.com>
- Date: 17 Aug 2001 11:23:24 +0200
- Cc: Dan Lindfield <dan.lindfield@example.com>,"Stephen J. Turnbull" <turnbull@example.com>
- Content-Type: text/plain; charset=iso-2022-jp
- Delivered-To: tlug@example.com
- In-Reply-To: "Stephen J. Turnbull"'s message of "Thu, 16 Aug 2001 18:21:24 +0900"
- List-Help: <mailto:tlug-request@example.comsubject=help>
- List-Post: <mailto:tlug@example.com>
- List-Subscribe: <mailto:tlug-request@example.comsubject=subscribe>
- List-Unsubscribe: <mailto:tlug-request@example.comsubject=unsubscribe>
- Old-Return-Path: <mfabian@example.com>
- References: <3B7B83E5.93ABD373@example.com><15227.37012.559095.911879@example.com>
- Reply-To: mfabian@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <kIiiZB.A.j-.0JOf7@example.com>
- Resent-Sender: tlug-request@example.com
- Sender: mfabian@example.com
- User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)
"Stephen J. Turnbull" <turnbull@example.com> writes: > >>>>> "Dan" == Dan Lindfield <dan.lindfield@example.com> writes: > > Dan> My Mandrake distro > > Oh, joy.[1] But I digress. > > Dan> How can I generate a .config file from my current setup that > Dan> I know works? > > You have to find one. Usually you can find it here: mfabian@example.com:/usr/src/linux$ ll /proc/config.gz -r--r--r-- 1 root root 0 8月 17 11:20 /proc/config.gz mfabian@example.com:/usr/src/linux$ This is the .config from the currently running kernel. You can compile a new kernel with these settings by calling mfabian@example.com:/usr/src/linux$ make cloneconfig Extract from the /usr/src/linux/Makefile: cloneconfig: symlinks @example.com [ -f "/proc/config.gz" ]; then \ mv -f .config .config.bak; \ gzip -d < /proc/config.gz > .config; \ $(CONFIG_SHELL) scripts/Configure -d arch/$(ARCH)/config.in; \ else \ echo "Sorry, your current kernel was built without cloning support."; \ fi > Most distros keep them around somewhere, Debian > eg keeps them in /boot/config-<version>. cp that to > /usr/local/src/linux/.config (or wherever you keep your kernel sources). > > Now, if you were using XEmacs as your kernel, you'd just type > "describe-installation" and get the full configuration. But you're > not. ;-) Similar with Linux: ~$ zcat /proc/config.gz | less -- Mike Fabian <mfabian@example.com> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
- References:
Home | Main Index | Thread Index
- Prev by Date: Re: RH 7.1 ISO images
- Next by Date: Re: Inserting a module at boot in RH7.1
- Prev by thread: .config
- Next by thread: RE: .config
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links