• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
wrong atime created by NFS clients (Mac OX 10.5 and 10.6).
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

wrong atime created by NFS clients (Mac OX 10.5 and 10.6).


  • Subject: wrong atime created by NFS clients (Mac OX 10.5 and 10.6).
  • From: 林 智子 <email@hidden>
  • Date: Mon, 27 Sep 2010 08:38:34 +0900

We have iMac computers in classrooms, and they are running as an NFS client.
We have found that the wrong access time (atime) is created by Mac OS 10.5
and 10.6.

A file that is opened by using "O_CREAT|O_EXCL" on the NFS-mounted directory
will have the wrong atime. For example, the year will appear as 1920 or 2037
depending on the IP address of the NFS client.

This problem can also be found with Solaris NFS server and EMC Celerra.

The following program will create a file having the wrong atime on an
NFS-mounted directory:

-------------------
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <stddef.h>

main() {

int fd;

/* O_EXCL option will cause wrong atime */
fd = open("AIZU", O_CREAT | O_EXCL | O_RDWR, 0644);
close(fd);
exit(0);
}
-------------------

The phenomenon is quite similar to the following problems on FreeBSD reported in 2001:
http://www.mail-archive.com/email@hidden/msg22084.html

If anyone knows a solution to this problem, we would greatly appreciate your advice. Thanks in advance.

----
Tomoko Hayashi
The University og Aizu
email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: wrong atime created by NFS clients (Mac OX 10.5 and 10.6).
      • From: Mike Mackovitch <email@hidden>
    • Re: wrong atime created by NFS clients (Mac OX 10.5 and 10.6).
      • From: 林 智子 <email@hidden>
  • Prev by Date: Re: FSCopyObjectAsync still buggy and useless after all these years
  • Next by Date: Re: wrong atime created by NFS clients (Mac OX 10.5 and 10.6).
  • Previous by thread: Re: FSCopyObjectAsync still buggy and useless after all these years
  • Next by thread: Re: wrong atime created by NFS clients (Mac OX 10.5 and 10.6).
  • Index(es):
    • Date
    • Thread