Solaris 2.5.1 compress/named pipe problem

Solaris 2.5.1 compress/named pipe problem

Post by Michael Wa » Sat, 17 Apr 1999 04:00:00

How to reproduce:

1. mknod named.pipe p
2. /bin/compress < named.pipe > new.Z    # on window 1
3. /bin/zcat old.Z > named.pipe          # on window 2, old.Z is 1.1 GB
                                         # old is over 2GB without compression
4. echo $?                               # on window nuumber 1

The problem is "echo $?" shows the status for compress is 2
though the compressed file is OK.

Other observations:
1. there is no such problem for small files.
2. there is no such problem for Solaris 2.6.
Michael Wang


1. named pipe & compress: how does it work?

When I used the named pipe the size of the export file reduced by 50-60%, also
when importing thu the pipe, If the book says to use "cat" use "zcat" instead.
zcat will expand a compressed file to standard output.

Richard Slochowsky
Richard Slochowsky
bryce international, LLC

2. poll() in Interactive UNIX

3. Any compatibility between Unix Named Pipes and NT Named Pipes??

4. Linux/Win95 LAN

5. Compressing through named pipes?

6. Using Perl/Awk for file format?

7. Problem on writing named pipes - SOLARIS/SUN OS System

8. Distribution "wars": SuSE5.2 saves RH5.1

9. Problem with named pipe FIFO on Solaris x86

10. Help needed pipes and named pipes

11. exit status of the command in pipe from shell & named pipe

12. Regular pipe vs. Named Pipe

13. named pipes and pipes in general