[OSUNIX-dev] Yet another package format - Feedback wanted

Joerg Schilling Joerg.Schilling at fokus.fraunhofer.de
Tue Jan 20 13:16:04 GMT 2009


"C. Bergström" <cbergstrom at netsyncro.com> wrote:

> time /usr/bin/star -xp -bz < 
> /usr/portage/packages/app-editors/vim-7.2.021.tbz2 -no-fsync
> /usr/bin/star: WARNING: skipping leading '/' on filenames.
> /usr/bin/star: 416 blocks + 0 bytes (total of 4259840 bytes = 4160.00k).
> 0.24u 0.02s 0:00.27 96.2%
>
> /usr/bin/star -xp -bz -time < 
> /usr/portage/packages/app-editors/vim-7.2.021.tbz2 -no-fsync
> /usr/bin/star: WARNING: skipping leading '/' on filenames.
> /usr/bin/star: 416 blocks + 0 bytes (total of 4259840 bytes = 4160.00k).
> /usr/bin/star: Total time 0.256sec (16186 kBytes/sec)

Why do you have absolute path names?

> Jörg.. what's the short-cut way to have star compress "." and pipe it 
> through xz so it's an apple vs apple comparison on the compression being 
> used.
>
> Also does star have some functionality like..
>
> xar -cf filepath --compression=xz -n package_meta.xml -s foo.xml
> xar --dump-toc=foo.xml -f /usr/portage/packages/app-editors/vim-7.2.021.oxe

See the star man page......

star has -compress-program=abc

> > What compression is lzma2 and which program supports it?
> >   
> http://tukaani.org/lzma/header-format-23.txt
>
> xz (lzma2) is beta work from Lasse Collin & Igor Pavlov.

I cannot find "xz", but I find a program "lzma" which seems to use 7z 
compression (I already mentioned this one). A problem is: I cannot see
any useful magic number at the beginning of the compressed file.

Jörg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



More information about the OSUNIX-dev mailing list