Re: busybox tar doesn't handle device files properly
On Thu Nov 11, 1999 at 10:09:19AM -0700, Matt Porter wrote:
> On Thu, Nov 11, 1999 at 09:58:49AM -0700, Erik Andersen wrote:
> > On Wed Nov 10, 1999 at 11:09:52PM -0700, Matt Porter wrote:
> > > The new busybox tar seems to be dumping device files as regular zero length
> > > files. This causes some difficulty when trying to open /dev/console on
> > > reboot of a freshly installed base system. :)
> > >
> > > Erik, can you take a look at this?
> > >
> >
> > Oops, I thought I'd fixed that. Hmm. Expect a fix real soon.
>
> I just checked in some working changes so it extracts them properly.
>
You beat me to it! Cool, thx.
I've added support for untaring sockets and FIFOs, (needed for stuff
like /dev/xconsole and /dev/log ), and switched to using the makedev()
macro since we don't really know what a dev_t is unless we peek under
the kernel's skirt. This also fixes up the TRUE/FALSE problem in tar.
Anyway, I'll be checking in my fixes in just a sec. Let me know if you
see any problems.
-Erik
--
Erik B. Andersen Web: http://www.xmission.com/~andersen/
email: andersee@debian.org
--This message was written using 73% post-consumer electrons--
Reply to: