On Wed, November 14, 2007 06:25, Dave Kleikamp wrote:
> This is the first I've heard of this.  I don't think Linux ever
> supported setting the modification times on symlinks.  Surely, I wouldn't
> expect it to be supported in file-system specific code.

I couldn't find a POSIX statement on utime() and symbolic links, only some
IBM document[0], saying that utime() would resolve the symbolic links,
hence modifying the targets, not the symlinks. And that's what I see on
Linux/ext3 and on Solaris/ufs:

$ ls -goE file.*
-rw-r--r--   1  0 2007-11-16 13:27:38.872916000 +0100 file.1
lrwxrwxrwx   1  6 2007-11-16 13:27:49.513237000 +0100 file.link -> file.1

$ touch file.link
$ ls -goE file.*
-rw-r--r--   1  0 2007-11-16 13:28:22.191743000 +0100 file.1
lrwxrwxrwx   1  6 2007-11-16 13:27:49.513237000 +0100 file.link -> file.1


Christian.

[0]
http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/apis/utime.htm
-- 
BOFH excuse #442:

Trojan horse ran out of hay


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jfs-discussion mailing list
Jfs-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to