In article <kj1hem$am1$
1...@news.albasani.net>,
<
Joerg.S...@fokus.fraunhofer.de> wrote:
>In article <k03nd3$fn2$
1...@panix1.panix.com>,
>David Combs <
dkc...@panix.com> wrote:
>
>>Tried sun tar. Looped, HUGE output before had to kill it.
>
>Did you try star?
>
>>The gnu-tar man page, I recall, says that, by default,
>>it does NOT actually *follow* symlinks.
>
>This is what a tar implementation in general should do.
>
>>QUESTION: any switches (options) I should have used,
>>in either sun or gnu tar?
>
>Did you find out why sun tar loops?
Yes, although I forget what I did to fix it. Hmmm.
Yes, had to use the -X switch, to exclude something.
That was thanks to a suggestion from someone in
this newsgroup.
>
>If this is because of a directory loop (via hard link) in the filesystem, you
>could tell star to use libfind to traverse the directory tree. Libfind uses a
>method to avoid looping over things already visited.
You mean with the same absolute pathname?
Or because of symlinks used as short abbreviations
and so there are parallel paths to the same file?
>
>
>>(General Question: which is generally better of those
>>two tars?)
>
>What is your intention?
You imply that depending on what I want
to do, I'd use this tar over that one.
That would make life even more complicated
than it is now!
What one hopes for is that one tar "DOMINATES"
the others, in that once you fully understand
how to use the single BEST one, you'd NEVER AGAIN
use one of the lesser ones, at least not
for any task you were totally in charge of (ie
not having to obey anyone else).
That none of the lesser tars has ANY useful
feature that the best one doesn't have.
Sorry for the insanely long delay.
About the documentation for STAR:
It's only one document, an extremely long man-page,
consisting of roughly 50 printed pages.
And because it's done as a man-page, you're somewhat
limited to the official man-page format.
(Note: I say that without having the STAR man-page
in front of me, and not having even looked at
for several months. So I could be way off.)
Now, let's look at gtar (gnu tar):
It has at least TWO pieces of documentation:
1: the manpage.
2: the .info document (over 220 pages long)
Whoever wrote the .info must have thought that
gnu tar and the concepts were complex enough
to *require* that kind of documentation.
Were Star and gtar actually identical programs,
one way of looking at the star 50-pages vs the
gtar 220+ pages would be that star had tried
to stuff 220 pages of information, tutorial,
etc, into just 50 pages.
But of course gtar and star are nothing like
identical. As I recall, star had not only
many more features, but those features
were more difficult (for me) to understand (and
more difficult to understand WHY they had been
added).
BEGIN ASIDE:
Plus (and this might be true of gtar too),
probably some of the star options were
added to combat OS deficiencies that existed
"way back when" (30, 40 years ago?) but which
no longer exist.
If such features/options exist, perhaps they
could be not retired but at least moved
to a "not needed any more" section.
So that someone approaching star doesn't even
have to know that these things even exist!
END ASIDE
Joerg, please have a look at the gtar info-doc,
at the tutorial part (well, the whole thing is
really a tutorial), at how its features are grouped,
at how the options (switches) pretty much everyone
needs are discussed earlier than the less-often
needed ones.
---
Jeorg, I believe you when you tell us that
star is far better than any other tar-like
program.
But I know from questions (including this one)
that I've posted here, when I ask about one tar
versus another, only very few (other than
you, should you notice the thread) say anything
about star. Even when directly asked,
"what about star?"
Now, except for the likes of me, the people
using this newsgroup are mostly very, very
bright, and equally skilled at computer science,
solaris, etc.
Presumably, if star was so much superior to
the other tars, these people would recognize it.
(Again, I'm not just assuming that star is far
and away the best of these programs, I'm actually
BELIEVING it -- based on what you say, and especially
on the quality of all the other programs you've
contributed to the (unix) world!)
So, why don't they seem to recognize it?
Perhaps even THEY find the documentation lacking
in one way or another. Maybe not enough explanationi
of the "why" for the various options.
Certainly the star doc can hardly be called "tutorial".
Also, the various options are listed one after another,
even if they are broken down into a few groups.
The only way to read the existing star doc (ie the man-page)
is to start at the top and read all the way down to the
bottom.
It's (to me, anyway) like "drinking from a fire hose".
What do they say the average human can hold in his
short-term memory at one time? Something like
SEVEN different things?
Now, if it were 500 things one could keep in
short term memory, then the firehose method
would, I suppose, be fine.
--
Jeorg, I just hate to see a truly superior program
not being used by those experts who SHOULD have
been using it (for maybe decades!), and for
their own benefit, but aren't, simply because
the doc is too, well, man-pageish.
--
None of us are getting any younger, including
you, nor we as energetic as we once were.
It's completely understandable if you
decide to not add a separate, tutorial
to star. But it sure would be nice
if you could find the time, interest,
and energy to, bit by bit, produce
something like the gtar info-doc.
The best result would be if due to
that effort, most people frequenting
this news group would soon switch
to star!
After which word would get around, and
it would REALLY spread.
Best of all, *I* would know how
to use it!
David
PS: Again, it would be a real help if for
any star option that was the least bit
advanced, you "motivated" it by somewhere
stating WHY you had to implement it: what
situation it fixed, and how it fixed it.
Also, for those whose names aren't 100%
obvious, WHY you chose that name for it.
A little history of a feature, the pros
and cons of having it or not, and the
pros and cons of one name versus another --
all that surrounding context makes it easier
to glue it into ones brain, into a NETWORK
of related things (eg star options)
into the brain.
PS: Note, when looking at the gtar doc,
how it says it has a way to facilitate
"incremental" tars -- like, I suppose,
the solaris "ufsdump" program. (Unfortunately
missing from zfs.)