On 16 Nov 2001, Joerg Schilling wrote:

> How about putting "star" on your list?
> 
> 
> It's bad to see, that currently all Linux systems only have the
> non-standard GNU tar while the standard compilant star is
> available for a long time.

It's up.  Check out 
http://home.earthlink.net/~noodlez84/rpm_packages.html .

It's working, but I have some problems / questions (I couldn't 
find a star mailing list, so I hope I don't get beaten down for 
this post):

1. On my machine, star is SLOW... More than 7x slower on average 
than GNU tar...  That can't be right.

linux:~ # time star -z -x -f star-1.4a08.tar.gz -C=/tmp/
star: 234 blocks + 9216 bytes (total of 2405376 bytes = 
2349.00k).

real    0m17.925s
user    0m0.420s
sys     0m1.550s
linux:~ # rm -rf /tmp/star-1.4/
linux:~ # time tar --gzip -xf star-1.4a08.tar.gz  -C /tmp/

real    0m1.620s
user    0m0.460s
sys     0m0.650s
linux:~ # rm -rf /tmp/star-1.4/
linux:~ # time gzip -dc star-1.4a08.tar.gz |  star -x -f - -
C=/tmp/
star: 234 blocks + 9216 bytes (total of 2405376 bytes = 
2349.00k).

real    0m15.408s
user    0m0.420s
sys     0m1.570s
linux:~ # rm -rf /tmp/star-1.4/
linux:~ # time bzip2 -dc fubar.tar.bz2 |  star -x -f - -C=/tmp/
star: 262 blocks + 0 bytes (total of 2682880 bytes = 2620.00k).

real    0m10.099s
user    0m2.320s
sys     0m0.970s
linux:/tmp # time star -x -f fubar.tar
star: 262 blocks + 0 bytes (total of 2682880 bytes = 2620.00k).

real    0m10.515s
user    0m0.060s
sys     0m0.860s
linux:/tmp # rm -rf fubar
linux:/tmp # time tar -xf fubar.tar

real    0m0.676s
user    0m0.040s
sys     0m0.440s
linux:/tmp #

In the last operation, star used ~15.7% of my RAM (total :32MB). 
 GNU tar only ~2.7%.  I would have no qualms about using star 
over GNU tar if it was faster even if it used more RAM.

2. There are several cool things in GNU tar that don't work in 
star.  Here's a list:
  options  :: star equivalent
  o -cf :: -c -f
  o -xf :: -x -f
  o -C /fubar :: -C=/fubar

IMO, these options should be added if not for user convenience, 
then for GNU tar compatibility.

3. Is there a way to remove files from tar archives using star?

4.  I noticed the following files are installed when 'make 
install'ing Schilling programs:

/usr/include/align.h
/usr/include/avoffset.h
/usr/lib/libdeflt.a
/usr/lib/libfile.a
/usr/lib/libhfs.a
/usr/lib/librscg.a
/usr/lib/libscg.a
/usr/lib/libschily.a
/usr/lib/libunls.a

What are they used for?  Should I include them in my RPMs?  If 
you take a peek at 
http://home.earthlink.net/~noodlez84/rpm_packages.html , I have 
a devel RPM for every Schilling package I compile.  Is this the 
"right" way?

5. Joerg Schilling: I read your GNU tar rant in the rather 
lengthy README.otherbugs, and I must say, I agree with you.  
Even the folks at 'file' know that GNU tar != POSIX tar:

linux:~ # file some_gnu_tar_file.tar
some_gnu_tar_file.tar: GNU tar archive
linux:~ # file some_star_archive.tar
some_star_archive.tar: POSIX tar archive



BTW, I apologize for the length of this message.

--
Karol Pietrzak
PGP KeyID: 3A1446A0


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to