[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20060727193406.GH6877@opteron.random>
Date: Thu, 27 Jul 2006 21:34:06 +0200
From: andrea@...share.com
To: Luigi Genoni <genoni@....it>,
"Horst H. von Brand" <vonbrand@....utfsm.cl>,
Adrian Bunk <bunk@...sta.de>,
"J. Bruce Fields" <bfields@...ldses.org>,
Hans Reiser <reiser@...esys.com>,
Nikita Danilov <nikita@...sterfs.com>,
Rene Rebe <rene@...ctcode.de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: the ' 'official' point of view' expressed by kernelnewbies.org regarding reiser4 inclusion
On Thu, Jul 27, 2006 at 02:37:33PM -0400, Jim Crilly wrote:
> Or because they did 'allmodconfig' or 'allyesconfig'. Whenever I build
> a kernel I enabled everything possible as a module in case I ever need
> it. For instance, a few weeks ago I had the reiserfs module loaded because
> I was testing something, if I had klive running it would have said that I
> use reiserfs when in fact I don't.
reiserfs would showup in the module list in such case, but _not_ in
the fs list. KLive records both the modules loaded _and_ the mounted
fs.
This is the code that records the FS:
if CONFIG_FS:
fs = {}
for _fs in [ re.search(r'^[^\s]+\s[^\s]+\s([^\s]+)', x).group(1)
for x in file('/proc/mounts').readlines() ]:
if _fs not in ['rootfs', 'proc', 'devpts']:
fs[_fs] = None
fs = ' '.join(fs.keys())
KERNEL += str_append(fs)
/proc/mounts only lists the _mounted_ fs, not the fs loaded into the
kernel statically or with insmod.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists