Date: Thu, 18 Jul 1996 22:26:37 +0200 From: roberto@keltia.freenix.fr (Ollivier Robert) To: j@uriah.heep.sax.de (J Wunsch) Cc: freebsd-bugs@freefall.freebsd.org Subject: Re: kern/1397: can't send to a pipe Message-ID: <199607182026.WAA17610@keltia.freenix.fr> In-Reply-To: <199607181700.KAA02495@freefall.freebsd.org>; from J Wunsch on Jul 18, 1996 10:00:01 -0700 References: <199607181700.KAA02495@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
According to J Wunsch: > Pipes are no longer reported by fstat (i think this is an error, or > at least an omission): > > j less 6320 wd /tmp 2 drwxrwxrwt 512 r > j less 6320 1 / 741 crw--w---- ttyp5 rw > j less 6320 2 / 741 crw--w---- ttyp5 rw > j less 6320 3 / 348 crw-rw-rw- tty r > j uulog 6319 wd /tmp 2 drwxrwxrwt 512 r > j uulog 6319 0 / 741 crw--w---- ttyp5 rw > j uulog 6319 2 / 741 crw--w---- ttyp5 rw > j uulog 6319 3 /var 4758 -rw-r--r-- 335307 r > > That's a "uulog | less", you can see that uulog's fd 1 and less' fd 0 > are not displayed at all. LSOF 3.61 (which runs now under CURRENT thanks to Vic Abell) displays that: uulog 17591 roberto 0u VCHR 5, 4 0t97077 3170 /dev/ttyp4 uulog 17591 roberto 1u VNON uulog 17591 roberto 2u VCHR 5, 4 0t97077 3170 /dev/ttyp4 and less 17592 roberto 0u unknown file system type: 7 less 17592 roberto 1u VCHR 5, 4 0t97077 3170 /dev/ttyp4 less 17592 roberto 2u VCHR 5, 4 0t97077 3170 /dev/ttyp4 Some fiddling inside LSOF or the kernel should show the proper type for both descriptors. -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 2.2-CURRENT #15: Sun Jul 14 17:33:54 MET DST 1996
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607182026.WAA17610>