Re: quasi-[OT] Adobe Flash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2010-10-23 at 10:15 -0700, suvayu ali wrote:
> On 23 October 2010 10:10, Marko Vojinovic <vvmarko@xxxxxxxxx> wrote:
> > As for the <pid>, my guess is that the process that opens the file for writing
> > is the only one allowed to actually write to it, since otherwise one can get a
> > race condition and data might get corrupted. Once that process dies, tail will
> > die along with it, leaving a clean /tmp/flashfile.flv as a result. At least that
> > is my theory. ;-)
> >
> > Now, all that is needed is that someone write a script and try it out. I am
> > not very versatile with extracting <pid> and <file_id> and such stuff, but
> > otherwise the script should be trivial. :-)
> 
> You can try it with the shell function I posted earlier in the thread.
> Putting your tail command instead of the cp should be a good test. ;)

I did a quick test copying /dev/zero and it seems to work, i.e. tail
copies the nulls as one would hope. Also the '--pid=' option works as
advertised.

poc

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux