All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Steve Dickson <SteveD@redhat.com>
Cc: Linux NFS Mailing list <linux-nfs@vger.kernel.org>,
	Linux NFSv4 mailing list <nfsv4@linux-nfs.org>
Subject: Re: [Patch 3/8] NFS Mount Configuration File (Vers 2)
Date: Wed, 5 Aug 2009 15:33:16 -0400	[thread overview]
Message-ID: <20090805193316.GJ9944@fieldses.org> (raw)
In-Reply-To: <20090805192919.GI9944@fieldses.org>

On Wed, Aug 05, 2009 at 03:29:19PM -0400, J. Bruce Fields wrote:
> On Wed, Aug 05, 2009 at 03:14:11PM -0400, Steve Dickson wrote:
> > After thinking about this.. I've convinced myself that the internal
> > parsing routines should make the Section names case-insensitive 
> > but the rest of the data (i.e the tag, value) should be returned as is
> > and let the callers deal with the case... 
> > 
> > The reason being everything hangs off Section names. So making those
> > easier to find I think is a good thing and hopefully it will make
> > managing config files a bit less error prone.... 
> 
> That's probably not what I would do, but I could live with that, as long
> as we're preserving the case of paths and user/group names.
> 
> By the way, it looks like the git code to handle their extended section
> names (the [key "string"] thing) is in git's
> config.c:get_extended_base_var(), if that's a useful example.

(And, by the way, they agree with you on case-sensitivity: from the
git-config man page:

	"The file consists of sections and variables. A section begins
	with the name of the section in square brackets and continues
	until the next section begins. Section names are not case
	sensitive. Only alphanumeric characters, - and . are allowed in
	section names. Each variable must belong to some section, which
	means that there must be section header before first setting of
	a variable.

	"Sections can be further divided into subsections. To begin a
	subsection put its name in double quotes, separated by space
	from the section name, in the section header, like in example
	below:

		[section "subsection"]

	"Subsection names can contain any characters except newline
	(doublequote " and backslash have to be escaped as \" and \\,
	respectively) and are case sensitive. Section header cannot span
	multiple lines."

)

--b.

  reply	other threads:[~2009-08-05 19:33 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-03 14:49 [Patch 0/8] NFS Mount Configuration File (Vers 2) Steve Dickson
2009-08-03 14:51 ` [Patch 1/8] " Steve Dickson
2009-08-03 14:52 ` [Patch 2/8] " Steve Dickson
2009-08-03 14:53 ` [Patch 3/8] " Steve Dickson
2009-08-03 15:24   ` J. Bruce Fields
2009-08-03 15:48     ` Steve Dickson
2009-08-03 15:56       ` J. Bruce Fields
2009-08-03 16:05         ` Steve Dickson
2009-08-05 19:14         ` Steve Dickson
2009-08-05 19:29           ` J. Bruce Fields
2009-08-05 19:33             ` J. Bruce Fields [this message]
2009-08-05 20:03               ` Steve Dickson
2009-08-05 20:02             ` Steve Dickson
2009-08-03 14:54 ` [Patch 4/8] " Steve Dickson
2009-08-03 14:56 ` [Patch 5/8] " Steve Dickson
2009-08-03 14:57 ` [Patch 6/8] " Steve Dickson
2009-08-03 14:59 ` [Patch 7/8] " Steve Dickson
     [not found]   ` <4A76FB3B.1070004-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
2009-08-03 15:31     ` J. Bruce Fields
2009-08-03 15:53       ` Steve Dickson
     [not found]         ` <4A7707EA.104-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
2009-08-03 15:57           ` J. Bruce Fields
2009-08-03 15:00 ` [Patch 8/8] " Steve Dickson

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=20090805193316.GJ9944@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=SteveD@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=nfsv4@linux-nfs.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.