Re: Posix and Single Unix -- atime and mtime changes

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 14 Dec 1998 04:13:30 +0000 (GMT)


> void markinterest( void ) {
> int f;
>
> if ( !justaftergroup )
> return;
> sprintf( s, "%s/interesting.groups/%s", spooldir, group->name );
> if ( (f=open( s, O_WRONLY|O_CREAT|O_APPEND, 0644)) >= 0 )
> close(f);
> justaftergroup = FALSE;
> }
>
> Maybe it is the O_APPEND ?

That sounds like a bug, unless the file system has been mounted "noatime"
in which case then yes the atime wont be updated.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/