From: Derrik P. <de...@no...> - 2012-03-09 15:19:37
|
Jean-Pierre: 2012/3/9 Jean-Pierre André <jea...@wa...> > > Is that not governed by the "flag_utime_omit_ok" flag > in the fuse init parameters ? > Erm, I just pulled down the source for ntfs-3g; it appears it uses its own "fuse-lite" library, and this seems to be a feature specific to it. Looking at include/fuse-lite/fuse.h, I see it's defined in its 'struct fuse_operations', and implemented in fuse_lib_setattr() in libfuse-lite/fuse.c. I checked the latest released libfuse source (fuse 2.8.7), and it does not appear to have an analogue. It would seem this is an implementation detail the mainline FUSE library code has missed. > And a side question : I see that stat(1) has a provision > for showing the birth date of a file. Is there a way to > return such a stamp through fuse ? AFAIK, no; UNIX's "struct stat" only has atime (last accessed), mtime (data last modified) and ctime (inode last changed) fields, so there's really not a concept of "creation time" in the UNIX world. -- Derrik Pates de...@no... |