On Mon, 09 Mar 2009, Goswin von Brederlow wrote: > hooanon05@xxxxxxxxxxx writes: > > > Goswin von Brederlow: > > (from my previous mail) > > ---------------------------------------------------------------------- > > - open a file on deltafs > > - unlink it > > - rmdir its parent > > - write or fchmod to it > > - rewind+read or mmap+read from the opened file > > - cat it be read correctly? > > ---------------------------------------------------------------------- > > > > > > J. R. Okajima > > As I said, keep the FDs open. In case of the split meta/files dirs you > would have orig_fd, meta_fd and delta_fd. And make read/write operate > on fi->fh only, not the path to the file. That way the delta-fs will > operate like any other userspace program doing read/write after an > unlink. This is just an implementation detail. In fact the current prototype *does* support unlinked but still open files, but it does it differently (with the help of the fuse library's hide-on-unlink feature). Miklos -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html