From: Ingo Oeser Subject: Re: Controversial: A New FRUGAL File System? Linux Registry (again)? Date: Tue, 28 Oct 2003 15:08:53 +0200 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <200310281408.53434.ioe-lkml@rameria.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from smtprelay01.ispgateway.de ([62.67.200.156]:34996 "EHLO smtprelay01.ispgateway.de") by vger.kernel.org with ESMTP id S263959AbTJ1NJK (ORCPT ); Tue, 28 Oct 2003 08:09:10 -0500 To: "Warren W. Gay VE3WWG" , linux-fsdevel@vger.kernel.org In-Reply-To: Content-Disposition: inline List-Id: linux-fsdevel.vger.kernel.org Hi, On Tuesday 28 October 2003 04:31, Warren W. Gay VE3WWG wrote: > Now, under time pressure at this point, I had to root around, and > find out why. I eventually traced it to the fact that the software > upgrade didn't know what to do with the last X-Window > configuration that I fought hard to get right last time. It had taken the > simple approach of renaming XF86Cofnig-4 to XF86Config-4.bak, > and installing the most recent version of the sample config. Well, > at least it didn't throw it away... Hmm, I'm usally offered 4 options in debian: 1) take the maintainers version 2) take my version 3) view a diff of them 4) get a shell and examine the situation You finally must decide what you take, but this conflict is resolvable in 3 steps: 1) View the difference and check, what the maintainer want to be done here. 2) Edit my own version to react on the changes wanted by the maintainer. 3) choose "take my version" The exact dialog can be read up in the debian sources somewhere. So your registry is not needed you resolve that problem on a debian system and it would be rather contra productive for me to NOT have these 4 options debian offers me here. > A registry would have made it very simple for a migration program > to keep/migrate the settings I already had. But because nobody > wants to expend the effort on a parse and re-write a config > file program, it is NEVER done. IOW, the config file is too > hard to work with. Nope. The Windows-approach is usally "don't trust the user and overwrite it's data with what we think is better" > Yet, these kinds of upgrades are successfully done in the > win32 environment, every day. Even my grandmother could > have done it, were there an equivalent upgrade on the win32 > side. You haven't used much windows software, I guess. Neither do I, but I had to repair the system afterwards and had to warn the users that their configuration is lost in this and that little program they need, if they upgrade. I don't want this to happen on MY machine. > I fail to see the difference here between parameters gathered into one > file, vs those same parameters gathered into one directory. The only > difference is that you want to see them together, in your favourite editor > (I like emacs too, BTW). Fortunately for people like you, the Reiserfs > can assemble registry pieces (files) into a text file "view" for editing, > if you want (via a plugin). That's useful. A common parser and a common config file format would solve all this quite nicely. *.ini is not sufficient, because you cannot express grammar and nesting with that. XML is too bloated for the human eye. I would like sth. like void C functions for that. So basically: ::= \n | ::= "=" ::= | ::= '(' ')' ::= | |