This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: atime preservation
- From: Roland McGrath <roland at redhat dot com>
- To: Ian Turner <ian at zmanda dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Wed, 28 Sep 2005 16:42:27 -0700 (PDT)
- Subject: Re: atime preservation
POSIX does not require that readlink affect atime. So perhaps you just
want to argue with the Linux kernel people for it never changing atime.
In the Hurd, you can open a symlink with O_NOLINK to get the symlink node
itself (as lstat does vs stat), so an freadlink that takes such an fd is
the most natural interface to add. But you really need to figure out what,
if anything, you can get added to the Linux kernel.