Re: [EXAMPLE-PATCH] /proc/config

Nicholas J. Leon (nicholas@binary9.net)
Sat, 30 May 1998 13:17:07 -0400 (EDT)


On Sat, 30 May 1998, Peter T. Breuer wrote:

# > I don't expect /proc/config to give _gzipped_ answer, so you either have
#
# Actually, that's not as silly as it sounds. Why CAN'T /proc/config.gz
# give a gzipped answer?

Why not indeed? Since the "main" usefullness of this is to
make autoconfig (or whatever)

it could certainly:

autoconfig:
[ -f "/proc/config.gz" ] && gzip -dc /proc/config.sz | ....

# The next simplest thing to do is code the config as a 2bit-map
# (presumably of yes,no,module,don't know) according to some standard.

And of course remove the CONFIG_ redundancies. As long as we control what
decompresses and parses the contents, we can do almost anything.

.............................................................................
..nicholas j. leon..........mrnick.binary9.net.........nicholas@binary9.net..

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu