I don't think so. The set of directory entries that reference an
inode are not themselves associated with the inode. It certainly
isn't practical to find them starting with a file descriptor.
Now, open() and rename() may well violate the POSIX requirements by
not committing the change to disk before returning. I wouldn't know.
But the fact that ext2 by default performs directory updates
asynchronously appears to be a delibarate decision. So, I need to
tell sysadmins to change that for those directories that need
synchronous updates.
-- _.John G. Myers Internet: jgm+@CMU.EDU LoseNet: ...!seismo!ihnp4!wiscvm.wisc.edu!give!up