Subject: setting file timestamp with NFS v3
To: None <current-users@NetBSD.ORG>
From: enami tsugutomo <>
List: current-users
Date: 07/07/1996 16:32:37
I recently found, for example, tar sometimes doesn't restore file
mtime correctly (see example below).  But if I mount with -o -2, then
timestamp is restored correctly.  Does anyone rest have similar
experience?  Or am I missing something?

The nfs server and client are both NetBSD/i386 1.2_BETA, but things
are same with FreeBSD-current machine I have.


plants-doll% which tar
plants-doll% pwd			# /tmp is ffs.
plants-doll% tar tvf t			# contents of tar file `/tmp/t'
-rw-r--r-- enami/wheel       0 Jun 20 07:07 1996 a
plants-doll% ls -l a			# there exists old /tmp/a
-rw-r--r--   1 enami    wheel           0 Jul  7 13:28 a
plants-doll% tar xvf t			# restore onto old file
plants-doll% ls -l a			# new file with correct time stamp
-rw-r--r--   1 enami    wheel           0 Jun 20 07:07 a
plants-doll% cd /a/tmp			# goto nfs mounted directory
plants-doll% ls -l a			# there is also old file
-rw-r--r--   1 enami    wheel           0 Jul  6 22:36 a
plants-doll% tar xvf /tmp/t		# overwrite it
plants-doll% ls -l a			# extracted but wrong time stamp
-rw-r--r--   1 enami    wheel           0 Jul  7 16:09 a