Re: mkfifo question

2010-04-27 Thread Chris Davies
Mag Gam wrote: > Currently I download a file (which is about 700MB) from wget and place > it in my /tmp and do my task on the file. If I have to work with 10 of > these fies at a single time I have to have 10 files in /tmp. > I was wondering if anyone has a clever idea how I can avoid having all

Re: mkfifo question

2010-04-27 Thread Juha Tuuna
On Mon, Apr 26, 2010 at 07:36:05AM -0400, Mag Gam wrote: > ... > I was wondering if anyone has a clever idea how I can avoid having all > 10 in /tmp and have a pipe or a "virtual file" so the program things > there is actually a file there. Is it possible to fake out the OS > like that? I'm not

Re: mkfifo question

2010-04-26 Thread Anand Sivaram
fifo is just like pipe, but there is a name/filesystem entry for that. you could assume that fifo is splitting the standard program1 | programs into two parts using the named fifo. In this case it depends how your program is doing the processing, whether it processes one file each after downloadi

mkfifo question

2010-04-26 Thread Mag Gam
Hello, Currently I download a file (which is about 700MB) from wget and place it in my /tmp and do my task on the file. If I have to work with 10 of these fies at a single time I have to have 10 files in /tmp; I was wondering if anyone has a clever idea how I can avoid having all 10 in /tmp and h