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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux