Charles Duffy:
> Neither is NFS; both are block devices.
> 
> I'll let you know when I'm able to test the new code.

So here is a note for other people.
This patch does,

- hook the inode operations of symlink under /proc.
  $ ls -l /proc/<PID>/exe
  before: /proc/<PID>/exe --> /branch/ro/usr/bin/emacs
  after:  /proc/<PID>/exe --> /union/usr/bin/emacs
  It will work when the unionfs is mounted as root or not.

- support for nfs branch.
  + stop repeated d_revalidate() which may generate a stale inode.
  + set current->fsuid to superuser temporally in notify_change(). it is
    effective when uid is different between nfs server and client.
  + update the inode just after link(2), since nfs doesnt update it and
    unionfs misunderstands nfs failed link.


Junjiro Okajima
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to