Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2001 11:20:44 +0100 (BST)
From:      Jan Grant <Jan.Grant@bristol.ac.uk>
To:        Cyrille Lefevre <clefevre@poboxes.com>
Cc:        freebsd-arch <freebsd-arch@FreeBSD.ORG>
Subject:   Re: configuration files, XML?
Message-ID:  <Pine.GSO.4.31.0104041115130.14755-100000@mail.ilrt.bris.ac.uk>
In-Reply-To: <u245s6mh.fsf@gits.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4 Apr 2001, Cyrille Lefevre wrote:

> the idea is to keep data where they are in the format they are and to
> have some sort of configurable api which interpret them through the
> appropriate gui.

I think it's better to keep the content separate and to generate
old-format configs on demand. We do this with master.passwd and vipw
already, essentially, but it needs something more general while we're
waiting for the world to catch on to what a good idea XML* config files
are :-/

Although this brings up another issue: stuff like chfn, passwd might be
written to modify the old-format file - the synchronisation between old-
and new- format config files needs to be two-way unless the system
utilities are taught about XML config files too.

> maybe I am totally wrong about the xml possibilities ?

It's just a syntax. If you can write it down, you can write it down in
XML. It might not look very pretty, but it can be done.

jan

* For "XML" read "any commonly applicable format"

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287163 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk
perl -e 's?ck?t??print:perl==pants if $_="Just Another Perl Hacker\n"'


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.31.0104041115130.14755-100000>