Sponsored Content
Full Discussion: named pipes
Top Forums Shell Programming and Scripting named pipes Post 10808 by Jimbo on Wednesday 21st of November 2001 11:07:50 AM
Old 11-21-2001
This may not help you any, but at least it might get some discussion going. Following code exports two schemas, each directly to a compressed disk file. These could then be sent to tape with fbackup.

mknod mypipe p

compress < mypipe > ap.dmp.Z &
exp ap/ap file=mypipe 2> ap.log

compress < mypipe > gl.dmp.Z &
exp gl/gl file=mypipe 2> gl.log

So, are you wanting somehow to send several compressed exported schemas directly to tape, rather than first to disk as above?
Jimbo
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

PIPEs and Named PIPEs (FIFO) Buffer size

Hello! How I can increase or decrease predefined pipe buffer size? System FreeBSD 4.9 and RedHat Linux 9.0 Thanks! (1 Reply)
Discussion started by: Jus
1 Replies

2. Shell Programming and Scripting

FIFO named pipes

Hi...Can anyone please guide me on FIFO Pipes in UNIX.I have lerant things like creating fifo pipes,using them for reads and writes etc.I want to know what is the maximum amount of memory that such a pipe may have? Also can anyone guide me on where to get info on this topic from? (1 Reply)
Discussion started by: tej.buch
1 Replies

3. UNIX for Advanced & Expert Users

tee into 2 named pipes

The following code does not work (zsh, Solaris), but works without the first line (files instead of pipes) :confused: mkfifo p1 p2 echo "Hello" | tee p1 > p2 & paste p1 p2 I would high appreciate any help to fix it. (9 Replies)
Discussion started by: zzol
9 Replies

4. Shell Programming and Scripting

named pipes

How to have a conversation between 2 processes using named pipes? (5 Replies)
Discussion started by: kanchan_agr
5 Replies

5. HP-UX

remove named pipes

Hi, Please help me on this. I am creating a named pipe in a kshell script. I am using mkfifo pipe_name command to create the pipe. I want to remove the named pipe after my work is completed. How can i do that. (8 Replies)
Discussion started by: chintapalli001
8 Replies

6. UNIX for Dummies Questions & Answers

Named Pipes

hi, i am working on a script for oracle export, m using a parameter file... i want to compress the dump file that is generated.. in my script following is the code i have written. i am not able to generata .gz file mknod /tmp/exp_tesd1_pipe p gzip -cNf... (4 Replies)
Discussion started by: saharookiedba
4 Replies

7. Shell Programming and Scripting

Temporary named pipes in Hpux Kornshell

Tried the following on Hpux 11.11, using both ksh, and dtksh $diff <(sort file1) <(sort file2) $ ksh: syntax error: `(' unexpected Strange thing is I tried the same command under RHEL5 using ksh 93 and it works fine. Does anyone know if this is possible on HPUX without the use of... (0 Replies)
Discussion started by: fire!
0 Replies

8. UNIX for Advanced & Expert Users

Named pipes using MKS Toolkit

I'm not sure whether or not this question really belongs in this forum and will accept rebuke should I have mistakenly put it in the wrong place (hopefully the rebuke will be accompanied by an answer, though) I wish to implement named pipe communication between two process using MKS Toolkit. I... (2 Replies)
Discussion started by: ArndW
2 Replies

9. Homework & Coursework Questions

C Program to search and read all named pipes in current directory

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Write a C program to search the current directory for all pipes. 1. It will print the pipe... (2 Replies)
Discussion started by: natwickley
2 Replies

10. Shell Programming and Scripting

Dialog with an external program using named pipes

Dear community, I communicate with an external program (maxima) using named pipes. If I use a text file to capture the output (maxima > out.txt) i can see the programs answer directly after the input written into the file. But if bypass the output into a named pipe (maxima > pipe) and capture it... (1 Reply)
Discussion started by: Pustekuchen
1 Replies
dds2index(1)						      General Commands Manual						      dds2index(1)

NAME
dds2index - tool to create an indexfile for the use of SYNOPSIS
dds2index [options] DESCRIPTION
dds2index creates an index file that is required by the file extraction utility dds2tar(1). It works on tar archives stored on dds tape devices (DAT). Since the file structure of the tape archives is used to extract the files, the archive must be an uncompressed tar ar- chive. But compression by the transparent signal processor of the tape device is allowed. The index created by dds2index is written to stdout by default and should normally be stored on hard disk as indexfile for later use by dds2tar(1). The default tape device to read from is /dev/nst0, which may be overridden with the environment variable TAPE, which in turn may be over- ridden with the -f device option. The device must be a SCSI tape device. OPTIONS
-f devicefile device of the tape archive. Must be a character special file. -t indexfile write the index to indexfile, not to stdout. -z,--compress write the index in (gzip) compressed mode. --help print some screens of online help with examples through a pager and exit immediatley. OPTIONS you didn't really need -b, --block-size Set the maximal blocksize, dds2index can handle. --z, --no-compress Don't filter the archive file through gzip. -v,--verbose verbose mode. Print to stderr what is going on. -h,--hash-mode Print a hash sign '#' to stderr for each MB read from tape. -V,--version Print the version number of dds2index to stderr and exit immediately. EXAMPLES
Example of getting the index from the default tape /dev/nst0 and storing it in file archive.idx: dds2index -v -t archive.idx WARNING
This program can only read records (tar is calling them tape blocks) up to 32 kbytes. A bigger buffer will cause problems with the Linux device driver. ENVIRONMENT
The environment variable TAPE overrides the default tape device /dev/nst0. FILES
/dev/nst0 default tape device file. Must be a character special file. SEE ALSO
dds2tar(1), mt(1), mt-dds(1), tar(1), gzip(1) HISTORY
This program was created as a tool for dds2tar(1). AUTHOR
J"org Weule (weule@cs.uni-duesseldorf.de), Phone +49 211 751409. This software is available at ftp.uni-duesseldorf.de:/pub/unix/apollo 2.4 dds2index(1)
All times are GMT -4. The time now is 05:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy