Re: `du' control files
On Sun, 15 Feb 1998, Nicolás Lichtmaier wrote:
> > Any contrary positions?
>
> This "du" file is completely redundant. And it should be a bug in avery
> package that contains it.
>
> What would be it use? Well... for installed packages you may just perform a
> 'du -c $(/var/lib/dpkg/info/package.list)'.
> When faced with this argument people said: "ok.. but wht about uninstalled
> poackages? Deity (when it finally descends to the earth) would be able to
> scan the tar file to extract this "du" control file!" If this program has to
> scan the tar to see if the program fits in the HD... why can't it do a "dpkg
> -c package.deb"?.
[snip]
Note, that control files (such as `du') can be extracted without having
tar unpacking and uncompressing the whole file. Thus, having a du file is
a lot faster than running `dpkg -c package.deb'.
Thanks,
Chris
-- Christian Schwarz
schwarz@monet.m.isar.de, schwarz@schwarz-online.com,
Debian has a logo! schwarz@debian.org, schwarz@mathematik.tu-muenchen.de
Check out the logo PGP-fp: 8F 61 EB 6D CF 23 CA D7 34 05 14 5C C8 DC 22 BA
pages at http://fatman.mathematik.tu-muenchen.de/~schwarz/debian-logo/
Reply to: