From: John M. <jo...@jm...> - 2011-08-14 21:07:16
|
On 2011.08.14, at 17:48 , Nikolaus Rath wrote: > Gal Rosen <GALRO-7z/5Bg...@pu...> writes: >> Gal Rosen <GALRO-7z/5Bg...@pu...> writes: >>>> I read the README.NFS file and I am guessing it's related to what written >>>> their, but I didn't really understand what does it mean to implement >>>> lookup for "." and "..". When the kernel calls lookup(x, '.'), you must return the "struct fuse_entry_param" information for the inode x (not it's parent directory, but the inode itself). When the kernel calls lookup(x, '..'), you must return the fuse_entry_param for _a_ parent of X (X may have many parents - I believe that you can generally pick the first one that you find.) Regards, John. -- jo...@jm... |