hi, On Mon, Mar 7, 2011 at 6:49 PM, Stas Malyshev <smalys...@sugarcrm.com> wrote: > Hi! > >> To hear that stream are useless for filesystem operation is very new to >> me. > > It was surprise for me too, nevertheless once you try to use it, you pretty > soon hit this roadblock with any serious application and have to resort to > very ugly hacks.
The more I read what you say the more I think that what you want is not a working stream implementation to do filesystem ops, but a way to emulate a virtual file system using stream. I don't think it is the goal of our stream implementation to do that. Tools like FuseFS are more appropriate and I can certainly do similar things on Windows as well. I have done that in the past for debugging purposes and we could certainly provide something as well. >> I have to repeat what I said earlier, these specific informations >> (ACL, reparse points or other OS/FS specific informations) are very > > Nobody cares about reparse points. There's probably no PHP app in existence > that cares about reparse points. There's tons of apps that use touch() and > chmod() though. if nobody was taking care of them then PHP on windows will be miserable with junction, links and co already. But it is not. >> hard to implement in a generic way as you are proposing. As the idea >> in itself is good, I have serious doubts that a useful (working and >> portable) solution can be implemented with what is described in your >> initial post (barely posix only). > > It is useful, and it will be working. I disagree for the reasons I explained earlier. It is even useless as it will be a very limited version. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php