Burnes, James wrote on Wed, 21 Apr 2004 17:10:00 -0600: > In the same way that 'ls <directory>' is ambigous. Does it mean I want > to look at the attributes of the directory itself, or does it mean that > I'm referring to the contents of the directory? That's why they > invented 'ls -d'
Good analog. There would have to be some OS and application level changes to support having both read/writeable data and child objects. For backwards compatiblity, calling ReadDir() would likely hint that you want a list of child objects, and read() means you want the data. The feature I want is that you can do both to any file system object. Plus of course indexing of attributes and other BeOS style goodies. - Alex
