Re: quasi-[OT] Adobe Flash

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

 



On Saturday, October 23, 2010 04:27:45 Patrick O'Callaghan wrote:
> On Thu, 2010-10-21 at 21:33 -0600, Petrus de Calguarium wrote:
> > Fortunately, Suvayu's brilliant script gets around that and manages to
> > access the file, even though it is already deleted, while Patrick's
> > suggestion of hard linking to it does not work, because it is already
> > deleted, unless he also has some ingenious trick up his sleeve to "get a
> > handle on" the deleted file.
> 
> Yes, it's a neat trick. However the 'cp' will terminate when it reaches
> the end of the input file, even if it's still being written to by the
> flash process. That would explain why the output is sometimes truncated.
> Getting round that would need a copy process that waits to see if
> there's more output, either by polling or by using inotify. IOW
> something conceptually similar to "tail -f".

Just to follow that idea, would something like

tail -f /proc/<pid>/fd/<file_id>   > /tmp/flashfile.flv

work? (Maybe with a couple more switches to tail, to start from the beginning 
of the file, etc...)

Best, :-)
Marko

-- 
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