Excerpts from ext.misc.info-afs: 14-Jul-94 Re: stat() system call and ..
Craig_Everhart@transarc. (1167)
> Unfortunately, true. And kind of fundamental, since DFS can export
> native file systems such as UFS, which themselves don't have an even/odd
> rule.
Sigh...good things never last forever. So how about providing a pioctl
or ioctl or system call that does an "extended" readdir? You could
provide inode, mode bits (or at least file type) and name. Or if you
don't like that, how about providing a "..." virtual entry in each
directory (perhaps not visible by a normal readdir, but that can be
looked up nonetheless) that returns this information if you do an
opendir/readdir on it. The file types could be encoded in magic inode
numbers that you *do* have control over. Then at least we can write
reasonably useful file browsers for DFS....
On yet another semi-related note, is @sys still supported in DFS?
-todd inglett