[lkml]   [2002]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: How to check the kernel compile options ?

    --On Thursday, 07 February, 2002 12:34 PM -0800 Mike Touloumtzis
    <> wrote:

    > I'm talking about rsync now, not cat (that was reductio ad absurdum to
    > make a point). In case you haven't compiled any userspace programs in
    > a while: many of them have configuration options. In the case of rsync,
    > things like "--enable-profile" and "--disable-ipv6".

    Well, picking a package with a non-trivial config file for compilation,
    and picking the one which is most easy to recompile (postfix):

    shed:/home/amb# postconf | head
    2bounce_notice_recipient = postmaster
    access_map_reject_code = 554
    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    allow_mail_to_commands = alias,forward
    command_directory = /usr/sbin

    I'd say that's storing it's compilation config (it's in there too)
    live - at least sufficient to allow me to rebuild it. And I've used

    > A final argument for using packaging/bundling tools and userspace files
    > instead of files in /proc for tracking kernel metadata:

    Noone is suggesting that it be compulsorary to delete your 'userspace'
    (read 'conventional file system') version of .config etc. The argument
    is merely that it is worth the few thousand bytes (one page) of
    swapoutable stuff kept with the kernel as well to aid debugging,
    rebuilding, etc.; for instance, if you've ever done a binary chop
    for 'which config livelocks my kernel on load', this means
    typing cp/mv rather fewer times. If you've ever misplaced/mismatched
    your .config/kysms, whatever, this will help immeasurably. If you
    are booting in an environment where it's easier to move a single
    file about (think tftp boot in a network environment for example),
    you get the config on there for free. Each of these I have used.

    Alex Bligh
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:24    [W:0.023 / U:55.052 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site