"Richard L. Hamilton" <[EMAIL PROTECTED]> wrote:

> I suppose there are a lot of ways the objective could be achieved.
> For example, an additional open() flag O_NOATIME to allow reading
> a file without modifying its atime.  That would have the advantage that
> timestamps didn't need to be restored after-the-fact, so even an interrupted
> backup utility using that flag wouldn't mess up any timestamps.

This sounds OK as long as the O_NOATIME flag may be added after an open(2)
via fcntl(2) - to preventfuture atime updates with read(2). This is needed 
in order to allow O_NOATIME to be useful for files opened via fopen(3).

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to