From: Vilobh M. <vil...@gm...> - 2011-05-27 23:55:29
|
Hi , I am developing a FUSE based file system where my directory structure is not stored on disk. I am storing directory structure somewhere else but not on-disk. So in such a case getattr/stat ( which will fill the struct stat) should fail. For example : If I want to create "d3" inside already created /d1/d2 > mkdir /d1/d2/d3 Then this will fail as the stat call will fail for "d1". Any ideas how we should handle such cases ? Is there a way that I update the stat structure for the directory with some hard-coded values whereas I follow the standard logic when I perform operations on file since my files will be created on disk. Thanks, Vilobh *Graduate Research Associate Department of Computer Science The Ohio State University Columbus Ohio* |