creating multiple STDOUT descriptors for a process in FUSE

View: New views
2 Messages — Rating Filter:   Alert me  

creating multiple STDOUT descriptors for a process in FUSE

by aghatpan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I want to have multiple standout file descriptors for a given process so that i
can tranfer data to multiple files at  the same time using pipes.Is there a way to
handle this problem

Thanks and Regards
Aniruddh

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
fuse-devel mailing list
fuse-devel@...
https://lists.sourceforge.net/lists/listinfo/fuse-devel

Re: creating multiple STDOUT descriptors for a process in FUSE

by Dave Ingram :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

aghatpan@... wrote:
> I want to have multiple standout file descriptors for a given process so that i
> can tranfer data to multiple files at  the same time using pipes.Is there a way to
> handle this problem
>  
I could be wrong, but surely this can be handled using normal
redirection mechanisms? It depends on your shell, but in zsh with
"multios" enabled:

echo "Some data" > file1 > file2 > file3 > file4

And more generally:

echo "Some data" | tee file1 | tee file2 | tee file3 | tee file4

But none of this is covered by FUSE. Having said that, you could have
writes to one file automatically appearing in multiple files, or
something like that...


D

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
fuse-devel mailing list
fuse-devel@...
https://lists.sourceforge.net/lists/listinfo/fuse-devel