Re: Thoughts after an install (well, partway through)
On Wed, Jan 05, 2000 at 09:56:02PM -0700, Erik Andersen wrote:
> On Wed Jan 05, 2000 at 09:38:46PM -0500, Daniel Jacobowitz wrote:
> >
> > I also turned up a couple of cosmetic bugs in busybox cp (it claimed it
> > was moving one file onto itself when the two paths were different,
>
> I'm not sure how to reproduce this one. Any hints?
If I recall correctly, it was something like this:
cd tmp
cp ../drivers.tgz drivers.tgz
But I'm not quite sure about that.
>
> > and
> > it handles copying a file to a directory in a nonstandard way)
>
> Hmm. Ok, I see this one:
>
> mkdir foo
> mkdir bar
> cp README foo
> cp foo/README bar
>
> and the last command fails.
Right, it tries to copy to bar/foo/README.
> > in tar (it spewed unprintable characters, even though invoked as tar
> > -xf, and in addition to successfully unpacking)
>
> Hmm. I'm just not seeing this one. Any hints? Do you have the tarball
> in question?
It was the gunzipped drivers.tar, right off of 2.2.4.
> > , annoyances in tar
> > (is there any reason it won't accept tar xf instead of tar -xf?
>
> The reason is that I didn't code the tar option parser that way. I'm
> open to a patch, but only if you can keep it _very_ small. Remember that
> this isn't intended to be GNU tar. Bloat is bad. I want to avoid the
> kind of creeping featurism that makes GNU tar be 135k.
I'll see how small I can make it.
> > And no
> > -z flag)
>
> True. busybox has both gunzip and tar in it. I never bothered to
> hook the two of them together. So far the Unix tradition of zcat|tar
> has worked well enough to do the job. Remember that BusyBox is all
> about doing the job as simply as possable. I am open to a patch
> though (I like tar -xzf ;-), but only if you can keep it really
> small. This is definately the sort of thing that would warrent a
> BB_FEATURE_TAR_GZIP_SUPPORT type entry in busybox.def.h.
Ditto. Look at it tonight. Once I have the machine in question
booting again :P
Dan
/--------------------------------\ /--------------------------------\
| Daniel Jacobowitz |__| SCS Class of 2002 |
| Debian GNU/Linux Developer __ Carnegie Mellon University |
| dan@debian.org | | dmj+@andrew.cmu.edu |
\--------------------------------/ \--------------------------------/
Reply to: