Gentoo Archives: gentoo-dev

From: John Nilsson <john@×××××××.nu>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: Re: [Fwd: Re: [gentoo-dev] baselayout redefines /etc/fstab]
Date: Tue, 24 Feb 2004 10:58:43
Message-Id: 1077620329.3350.22.camel@newkid.milsson.nu
In Reply to: Re: [Fwd: Re: [gentoo-dev] baselayout redefines /etc/fstab] by Greg KH
1 On Tue, 2004-02-24 at 02:10, Greg KH wrote:
2 > On Tue, Feb 24, 2004 at 01:50:47AM +0100, John Nilsson wrote:
3 > > On Tue, 2004-02-24 at 00:22, Greg KH wrote:
4 > > > On Mon, Feb 23, 2004 at 11:41:04PM +0100, John Nilsson wrote:
5 > > > > On Mon, 2004-02-23 at 03:12, Greg KH wrote:
6 > > > > > On Sun, Feb 22, 2004 at 08:04:25PM +0100, John Nilsson wrote:
7 > > > > > > If you settle for reiser4 or such fs one could store all settings as
8 > > > > > > single files in a tree much like /proc/sys this tree could then be
9 > > > > > > exposed as an xml or other format for backward compatibility through
10 > > > > > > filsystem plugins...
11 > > > > >
12 > > > > > And you want to reinvent gconf for what reason? :)
13 > > > > > greg k-h
14 > > > >
15 > > > > http://cda.mrs.umn.edu/~mine0057/fs.pdf
16 > > >
17 > > > Heh, my main point is that reiser4 is not here today, will not be here
18 > > > tomorrow, and will not be in wide use next month. Next year it will
19 > > > only have a very small installed base, if any.
20 > > >
21 > > If you liked that one you might likte to read this too:
22 > >
23 > > http://www.kuro5hin.org/story/2003/8/9/172159/7912
24 > >
25 > > or
26 > >
27 > > http://www.xs4all.nl/~evbergen/configuration-data.html
28 >
29 > Heh, you do realize that I am one of the developers of sysfs in the
30 > kernel, and currently wield the "only 1 value per file" big stick that I
31 > go around with and whack offending developers with?
32
33 Oh, sorry, I never pay attention! =) You are also the creator of udev,
34 correct?
35
36 With your experience with the code you should know, would it be hard to
37 implement the file/directory duality that comes natively with reiser4
38 into the VFS? This way reier4 would only by you performance...
39
40 Converting a single code base to a new interface (sysfs) wasn't painless
41 I imagine. Converting most of the OSS is impossible without an
42 intermideate solution and tremendous benefits for the individual
43 developers.
44 The tremendous gain, I belive, is there. What seems to be missing is a
45 transition and portability scheme.
46
47 Still it is so easy with reiser4 =) a plugin for /etc and all files that
48 are at all parseable is converted to a filetree at write.
49
50 -John
51
52 > I agree that 1 value per file is a very powerful and rich system that
53 > can be used to show all sorts of data, that's why we did it for the
54 > kernel innards. To quote lwn.net, sysfs is a "web woven by a spider on
55 > drugs." It has already caused a zillion usages that the original
56 > developers never imagined, which proves the model is a good one.
57 >
58 > So to do the same thing for userspace programs makes loads of sense.
59 > Remember disk space is cheap :)
60 >
61 > thanks,
62 >
63 > greg k-h

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [Fwd: Re: [gentoo-dev] baselayout redefines /etc/fstab] Greg KH <greg@×××××.com>