* [gentoo-dev] Re: (FS) Attributes for Ebuilds?
@ 2003-06-09 21:40 99% ` ross girshick
0 siblings, 0 replies; 1+ results
From: ross girshick @ 2003-06-09 21:40 UTC (permalink / raw
To: gentoo-dev
Michael,
I've actually already implemented something like this for a school
project. I built a metadata "database" on top of file system using ext2
and extended attributes. I modified the ext2 kernel module and built two
userspace utils for getting and setting the metadata. I also patched
portage to set the metadata when installing packages. While designing and
building this system I ran into a number practical issues, such as
extended attributes are currently only allowed 1 block on disk. Because of
this I use a lot of hashing tricks and only store 32bit integers on disk.
My user space utils translate between ascii names and integers. My basic
goal was to distribute the portage database through the file system so
that disk the database represents the actual state of the disk, rather
than the state at the time you emerged something. This allows for packages
to have files added and removed, while not accumulating cruft over time.
Rather than going into too much detail, I suggest that you read the paper
that I wrote on it. I haven't had time to get organized, but I can make
the source code available soon too. If anyone is interested in working on
it please let me know.
The paper:
http://people.brandeis.edu/~rossgir/pkgman.ps
cheers,
ross
p.s. it should be noted that this project was my first adventure into
kernel programming, so it's quite amateurish and could use the guide of a
wise sage :).
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2003-06-05 6:47 [gentoo-dev] (FS) Attributes for Ebuilds? Michael Kohl
2003-06-09 21:40 99% ` [gentoo-dev] " ross girshick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox