From: Randy Dunlap <randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
To: Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Suresh Jayaraman <sjayaraman-l3A5Bk7waGM@public.gmane.org>,
Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-fsdevel
<linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] cifs: document 'fsc' mount option
Date: Tue, 27 Jul 2010 14:59:01 -0700 [thread overview]
Message-ID: <20100727145901.e6c25800.randy.dunlap@oracle.com> (raw)
In-Reply-To: <AANLkTi=+Y1XdFCT1UfWZW==qusXfs6t-vxa_CYo03TTT-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Tue, 27 Jul 2010 11:38:20 -0500 Steve French wrote:
> On Tue, Jul 27, 2010 at 11:33 AM, Suresh Jayaraman <sjayaraman@suse.de> wrote:
> > On 07/27/2010 08:51 PM, Steve French wrote:
> >> scripts/extract-ikconfig could be run against the image (or look at
> >> /proc/config.gz) - but unless there is an easier way to view kernel
> >> config options on particular distros via distro specific tools -
> >> probably easier just to note that CONFIG_FSCACHE must be selected in
> >> the kernel build (since it forces dependencies on the other kernel
> >> options being set)
> >
> > Does something like
> > $zcat /proc/config.gz | grep CONFIG_CIFS_FSCACHE
> >
> > might work on all distros?
> >
> > But, Jeff's idea of having a features file in /proc sounds good. Apart
> > from using them as a reference to check in documentation, it could be a
> > useful information while collecting debugging output as well..?
>
> Seems reasonable - but wondering if other file systems have run into the same
> problem - how to view their build/config options - and how they have
> solved it (if at all) so ccing fsdevel
There is no guarantee that scripts/extract-ikconfig can find anything,
or that proc/config.gz is present.
The safe, sure-to-work thing to do is create some strings or files or whatever
based on CONFIG_* kconfig symbols during kernel build, then those hints will
be available at kernel run-time.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
next prev parent reply other threads:[~2010-07-27 21:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4C4EE408.7070109@suse.de>
[not found] ` <20100727103313.4b730ea8@tlielax.poochiereds.net>
[not found] ` <AANLkTina2EyHkrgNAcrY8ZRK=fXQS71dekWc+kOA0+mz@mail.gmail.com>
[not found] ` <20100727111517.4fe0859e@tlielax.poochiereds.net>
[not found] ` <AANLkTik9JqtqAtKJQsaQR8aC8s0kwmrcU=_=QQei7U07@mail.gmail.com>
[not found] ` <4C4F0A71.8020908@suse.de>
2010-07-27 16:38 ` [PATCH] cifs: document 'fsc' mount option Steve French
[not found] ` <AANLkTi=+Y1XdFCT1UfWZW==qusXfs6t-vxa_CYo03TTT-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-27 21:59 ` Randy Dunlap [this message]
2010-07-30 9:49 ` Suresh Jayaraman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100727145901.e6c25800.randy.dunlap@oracle.com \
--to=randy.dunlap-qhclzuegtsvqt0dzr+alfa@public.gmane.org \
--cc=jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=sjayaraman-l3A5Bk7waGM@public.gmane.org \
--cc=smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).