lkml.org 
[lkml]   [2004]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] O_NOATIME support
From
Date
On Jun 11, 2004, Cesar Eduardo Barros <cesarb@nitnet.com.br> wrote:

> int O_NOATIME Macro
> If this bit is set, read will not update the access time of the file.
> See File Times. This is used by programs that do backups, so that
> backing a file up does not count as reading it. Only the owner of the
> file or the superuser may use this bit.

IMHO it's a bad idea to enable the owner of the file to avoid changing
the atime of their files. I've heard more than once about the atime
bit being used to as proof that a user had actually seen the contents
of a file although s/he claimed s/he hadn't. If it was root-only,
atime could still be used for the same purpose, and would enable
backups with tools that accessed the filesystem through the FS layer,
as opposed to though the block layer, to keep such proof unchanged.

--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.147 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site