>From: "Karol Pietrzak" <[EMAIL PROTECTED]>
....
>> things. You are hit by the way Linux does memory management. If
>> Linux (with the old memory concept - I did not yet test the new
>> one) has less than 8 MB of free memory, it becomes very very
>> slow. If you run star as root there is a second change (made a
>> few weeks ago) that is intended to speed up operation: It tries
>> to lock the FIFO in memory.
>>
>> On your specific machine the last two changes seem to hurt you
>> but note that this cannot be called typical behaviour.
>The tests _were_ run as root, and top reports ~11MB free before
>using star. So, what are the problems affecting me?
Maybe there havwe not been 11 MB free. From observing Linux behaviour,
I would not believe tools that tell you such things. Please run
sdd -inull bs=8m count=1 of=/dev/null
If you repeat this command and it takes less than .1 seconds,
you should be sure that there is at least 8 MB of free memory - in
case there are no other programs that "eat" memory (e.g. netscape).
Then run your star tests...
>> There are plans to add a way to specify the default FIFO size in
>> /etc/default/star Note that backup speed with a DLT tape may
>> increase by more than 10% if you use 128 MB for the FIFO.
>> However, I won't recommend to use more than 1/4 of the total free
>> memory of the machine.
>Is there a way I can set this _now_ as a compile-time option? I
>have no problems with doing that. Can I also test another
>version of star?
I am using star every day on a lot of different platforms (since 1985)
and I never noticed such a behaviour. For this reason, there is no such
compile time option. If you believe that you have problems, try the
fs= option and if it really was the problem, send me a mail and edit
fifo.c
>> >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
>>
>> It seems that you did not read the man pages well enough...
>> Neither GNUtar not star list that you may combine single char
>> BOOLEAN flags but both support them.
>>
>> So what is your problem?
>I didn't know whether or not this was a unintended side effect.
>I want to be able to use the same options for star as I do for GNU tar (i.e. I wish I
>could use "-xf" in star like I do in GNU tar; I wish I could use "-C /tmp" in star
>like I do in GNU tar).
Well star never allowed -cf because this is a mehod of calling star
with a high risk of loosing files. f= must be a separate option to make sure that
you did not make a typo that would make one of the file arguments the tar archive
by accident. If you use star in POSIX compatibility mode (no '-' signs
before the options) then star cf xx is allowed with some restrictions:
the argument to the f option must either not exists, be a decive type
argument or a zero sized file.
>I apologize for being so valuge in my previous message.
>> >3. Is there a way to remove files from tar archives using star?
>>
>> NO, never needeed
>So what do I do? [ star -x -f file.tar -C=./dir; rm -f
>./dir/fubar; rm -f file.tar; star -c -f file.tar ./dir; rm -rf
>./dir ]?
Well during the last 16+ years I never had the need to remove files
from a tar archive.
>> >4. I noticed the following files are installed when 'make
...
>> >/usr/lib/libschily.a
>> >/usr/lib/libunls.a
>>
>> Well, you usually don't need them.
>So I guess it would be OK to not distribute them period, I
>guess.
No problem
BTW Star use to mean 'schily tar' before 1993, but then is has been
renamed to star (standard tar).
J�rg
EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
[EMAIL PROTECTED] (uni) If you don't have iso-8859-1
[EMAIL PROTECTED] (work) chars I am J"org Schilling
URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]