JFFS2/xattr problems.
Jörn Engel
joern at wohnheim.fh-wedel.de
Mon Jun 12 14:06:53 EDT 2006
On Mon, 12 June 2006 10:53:15 +0100, David Woodhouse wrote:
> On Mon, 2006-06-12 at 18:43 +0900, KaiGai Kohei wrote:
> > In my opinion, a xattr across multiple nodes isn't neccesary.
> > What do you think?
>
> I'd be happier if it worked -- some of us have plans to abuse XATTR
> support by building a simple database on it... :)
>
> But as long as the failure mode is _graceful_, I suppose we can live
> without it for now, if ext3 is also limited to 4KiB.
Seems you missed Ted's presentation at LCA this year. Among the
interesting bits:
o Pretty much anything on Linux is limited to 64KiB or less.
o Ext[23] is limited to 4KiB total for all attributes, including all
keys and all values.
o The biggest user of Alternate Streams (less-limited versions of
xattr on Windows, Solaris, etc.) arguably is root kits. Alternate
Streams have the advantage that tripwire etc. don't understand them
and won't look for malware there.
o Some system administrators have no plans to upgrade to Solaris 9
ever, because it supports Alternate Streams. The trouble of hidden
malware is not worth the gains.
Notable was also, that Ted repeated the last two points in several
variations. Not sure if I would follow his line of thought 100%, but
he does have a point.
Jörn
--
The competent programmer is fully aware of the strictly limited size of
his own skull; therefore he approaches the programming task in full
humility, and among other things he avoids clever tricks like the plague.
-- Edsger W. Dijkstra
More information about the linux-mtd
mailing list