|
|
|
|
|
|
| Author |
Message |
Mark Taylor *nix forums Guru Wannabe
Joined: 21 Feb 2005
Posts: 292
|
Posted: Thu Feb 10, 2005 6:37 pm Post subject:
Re: why the pipe is used. ?
|
|
|
looks like your using a named pipe to compress data... I am making an
educated guess here as all the info is not in the bits you have posted.
i am assuming there is a function or script or homegrown binary called
write_ ?
i.e. this is used to take an export from a databse into an named pipe,
then compress the data from the named pipe into a compressed file ...
This allows you to export files larger than the filesystem can handle
as they are compressed on the fly through the pipe.
mkno ? thats a typo --> mknod = make node "p" = make pipe ( you can use
mkfifo )
HTH
Mark Taylor |
|
| Back to top |
|
 |
tridentadm *nix forums beginner
Joined: 13 May 2005
Posts: 4
|
Posted: Thu Feb 10, 2005 3:45 pm Post subject:
why the pipe is used. ?
|
|
|
does anyone know why this pipe is used.. and what really is going on
in the below script.
read exp_cmp_pipe
echo "Attempt to remove $exp_comp_pipe"
echo 'Ignore "rm: cannot access $exp_cmp_pipe" error message'
rm $exp_cmp_pipe
mkno $exp_cmp_pipe p
echo "nohup compress < $exp_cmp_pipe > $filename.comp & " >
write_$exp_cmp_pipe
chmod +x write_$exp_cmp_pipe
write_$exp_cmp_pipe |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Jan 08, 2009 10:38 pm | All times are GMT
|
|
Satellite TV | Credit Cards | Loans | Car Credit | Loans
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|