> > For HP/UX, there's an fcntl() operation F_SETTIMES
> > (see
> http://docs.hp.com/en/B2355-91021/B2355-91021.pdf and
> search
> > within it) but it doesn't commit to restoring
>  ctime (although it
> > requires superuser privs).  Not clear whether
> that's their solution or not.
> > Haven't thought of a good search strategy for say
>  AIX or the *BSDs (google's
> > BSD search didn't help me much 'cause that still
> contains a bunch of
>  > Linux related material).
> ... and the Linux approach is?

As I said said previously, Linux uses O_NOATIME:

>In favor of a O_NOATIME flag, it looks like Linux has this, defined as
> > O_NOATIME
> > (Since Linux 2.6.8) Do not update the file last access time (st_atime in
> > the inode) when the file is read(2). This flag is intended for use by
> > indexing or backup programs, where its use can significantly reduce the
> > amount of disk activity. This flag may not be effective on all filesystems.
> > One example is NFS, where the server maintains the access time.

but if they have any fine-grained privilege keeping it from being abused, I
didn't see that (and think that perhaps we should, with the flag silently 
ignored
in the absence of that privilege, which shouldn't _break_ anything, just 
wouldn't
hand it out willy-nilly).
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to