On 17.10.2012 17:27, Jiří Zárevúcky wrote: > Yes. The problem is that the "file handles" we have now are not just > references to files. They are complete active IO streams built on top > of files. That is a lot of unnecessary assumptions about how we use > files.
I still think you are trying to see file handles as something more than they are. Their current uses: - client-local names for file system nodes that are independent of human readable file system names and paths - holders of references to the underlying nodes - yes, they are associated with an IO position pointer, but that can be removed and they will still be considered file handles, even in today's VFS - yes, they are associated with access mode information, but you want to preserve that - they are used to implement standard C FILE and DIR streams in libc, but so will be your node handles So what is the clutter that you see besides the position pointer? Jakub _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/cgi-bin/listinfo/helenos-devel
