This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: aio_fsync() a directory ?


> Strangely, fsync() does not have this restriction (neither in the 
> standard nor on the implementation) - was it on purpose ?
> 
> http://pubs.opengroup.org/onlinepubs/009695399/functions/fsync.html
> http://pubs.opengroup.org/onlinepubs/009696699/functions/aio_fsync.html
> 
> At last, is fsync'ing a directory the right way to commit operations on 
> files entries ? If so, isn't it inconsistent not to accept this on the 
> aio side ?

These are questions for the POSIX committee.  Given the standard as it
stands (same in 1003.1-2008, though you cited 1003.1-2004), libc is doing
the right things.


Thanks,
Roland


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]