Date: Mon, 28 Oct 1996 07:59:46 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-current@FreeBSD.org (FreeBSD-current users) Cc: archie@whistle.com (Archie Cobbs) Subject: Re: Strange bug related to fstat() Message-ID: <199610280659.HAA02709@uriah.heep.sax.de> In-Reply-To: <199610272250.OAA14535@bubba.whistle.com> from Archie Cobbs at "Oct 27, 96 02:50:22 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
As Archie Cobbs wrote: > Within a little background daemon, the system() command is used > to execute a command looking something like this: > > system("tar cf - file1 file2 | gzip -cf | uuencode files > output"); Btw., would it work using `tar czf -' instead? > The only other possibilities seem to be a bug in /bin/sh or the > kernel. As you can see, I need a little hint as to how to pursue > this one... Try to ktrace this and look what the fstat() is getting as its file descriptor. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610280659.HAA02709>