9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] curious mtime of cwfs
@ 2013-02-25  1:04 arisawa
  2013-02-25  1:17 ` arisawa
  0 siblings, 1 reply; 11+ messages in thread
From: arisawa @ 2013-02-25  1:04 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello,

cwfs64x shows curious mtime in dump.
my experiment is only on cwfs64x. I don't know other cwfs.
fossil is OK.

standing on general rule of unix and plan9,
mtime of directory should be the time that the contents are modified.


#
#	fossil
#

ar% ls -ld /n/dump
d-r-xr-xr-x M 538590 adm adm 0 Dec 31  2003 /n/dump/2003
d-r-xr-xr-x M 538590 adm adm 0 Dec 31  2004 /n/dump/2004
d-r-xr-xr-x M 538590 adm adm 0 Dec 31  2005 /n/dump/2005
d-r-xr-xr-x M 538590 adm adm 0 Dec 31  2006 /n/dump/2006
d-r-xr-xr-x M 538590 adm adm 0 Dec 31  2007 /n/dump/2007
d-r-xr-xr-x M 538590 adm adm 0 Dec 31  2008 /n/dump/2008
d-r-xr-xr-x M 538590 adm adm 0 Dec 31  2009 /n/dump/2009
d-r-xr-xr-x M 538590 adm adm 0 Dec 30  2010 /n/dump/2010
d-r-xr-xr-x M 538590 adm adm 0 Dec 31  2011 /n/dump/2011
d-r-xr-xr-x M 538590 adm adm 0 Dec 31 13:00 /n/dump/2012
d-r-xr-xr-x M 538590 adm adm 0 Feb 24 13:00 /n/dump/2013
ar% ls -ld /n/dump
d-r-xr-xr-x M 538590 adm adm 0 Jan  1 13:00 /n/dump
ar% ls -l /n/dump/2013
...
d-r-xr-xr-x M 538590 adm adm 0 Feb 20 13:00 /n/dump/2013/0220
d-r-xr-xr-x M 538590 adm adm 0 Feb 21 13:00 /n/dump/2013/0221
d-r-xr-xr-x M 538590 adm adm 0 Feb 22 13:00 /n/dump/2013/0222
d-r-xr-xr-x M 538590 adm adm 0 Feb 23 13:00 /n/dump/2013/0223
d-r-xr-xr-x M 538590 adm adm 0 Feb 24 13:00 /n/dump/2013/0224
ar% ls -ld /n/dump/2013
d-r-xr-xr-x M 538590 adm adm 0 Feb 24 13:00 /n/dump/2013
# this is OK because the last change is at  the time 0224 is added.
ar%


#
#	cwfs64x
#

maia# ls -l /n/dump
d-r-xr-xr-x M 160 adm adm 0 Aug  1  2012 /n/dump/2012
d-r-xr-xr-x M 160 adm adm 0 Jan 21 05:07 /n/dump/2013
maia# ls -ld /n/dump
d-r-xr-xr-x M 160 adm adm 0 Jul 31  2012 /n/dump
maia# ls -l /n/dump/2013
....
d-r-xr-xr-x M 160 adm adm 0 Feb 21 05:00 /n/dump/2013/0221
d-r-xr-xr-x M 160 adm adm 0 Feb 22 05:00 /n/dump/2013/0222
d-r-xr-xr-x M 160 adm adm 0 Feb 23 00:23 /n/dump/2013/0223
d-r-xr-xr-x M 160 adm adm 0 Feb 24 05:00 /n/dump/2013/0224
d-r-xr-xr-x M 160 adm adm 0 Feb 24 17:09 /n/dump/2013/02241
d-r-xr-xr-x M 160 adm adm 0 Feb 25 05:00 /n/dump/2013/0225
maia# ls -ld /n/dump/2013
d-r-xr-xr-x M 160 adm adm 0 Jan 21 05:07 /n/dump/2013
# this is NG because the last change is at  the time 0225 is added.
maia#

Kenji Arisawa







^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-03-03  3:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-25  1:04 [9fans] curious mtime of cwfs arisawa
2013-02-25  1:17 ` arisawa
2013-02-25  5:55   ` cinap_lenrek
2013-02-25  7:24     ` arisawa
2013-02-25  8:23       ` cinap_lenrek
2013-02-25 10:17         ` arisawa
2013-02-25 10:34         ` Anthony Martin
2013-02-25 11:27           ` cinap_lenrek
2013-02-25 11:39           ` arisawa
2013-03-02 21:08           ` erik quanstrom
2013-03-03  3:30             ` arisawa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).