Re: On adding size info to Packages files [very long]
>>"Brederlow" == Brederlow <firstname.lastname@example.org> writes:
Brederlow> Would that already be a correct Packages file or would dpkg and
Brederlow> similar scream about wrong entries? Could old dpkg's handle the new
As I mentioned elsewhere, there is no reason for this to be
included in the Packages file. The size estimation should be
*OPTIONAL*, and people should not have to download all the data
unless they want the estimate.
Moerever, the available file (and the status file) are created
from the Packages files, and there is no reason to bloat them further
with duplicated information, and further increase the startup time
for programs that rread them and cache them in memory.
Brederlow> Lets trimm those to reasonable size. Directories that are
Brederlow> package intern will hardly be on separate
I see little reason to go through these hueristics; I prefer
the original proposal of creating separate files based on the depth;
however, the raw data is there for people who want it.
Brederlow> Theres another possibility: Normal users wont backup their
Brederlow> System, repartition differently and restore the backup (at
Brederlow> least not often). Also they wont move directories around
Brederlow> and link them often. We could thus trimm the du tree down
Brederlow> to what the current system reflects.
Huh? what does the current system reflect? For whose machine?
Oh, you mean everytime we download the data, we spend time mucking
around with it and trimming it down? I think that would be very
prohibitive on slower machines, especially since the data is only
useful for a short time. A better approach is to download the proper
sized size file (If all my partitions are at the top level or at the
second level, like /usr/lib; I just download Size.2.gz; and never do
local processing on the data).
If I don't document something, it's usually either for a good reason,
or a bad reason. In this case it's a good reason. :-) --Larry Wall
Manoj Srivastava <email@example.com> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com