9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Quick question on sources.cs.bell-labs.com
@ 2008-12-27 22:19 Roman Shaposhnik
  2008-12-27 22:38 ` erik quanstrom
  0 siblings, 1 reply; 2+ messages in thread
From: Roman Shaposhnik @ 2008-12-27 22:19 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I thought that sources is a general purpose fossil server that archives
everything in venti dumps, but apparently not:
    term% 9fs sourcesdump
    term% ls -l /n/sourcesdump/2008/1225/dist/replica
    term%

In fact, if one looks at the /n/sources/dist/replica it seems
that the directory itself was last modified on Nov 23, but
the files are from Nov 18:
    term% ls -ld /n/sources/dist/replica
    d-rwxrwxr-x  M  22 glenda sys 0 Nov 23 23:00 /n/sources/dist/replica
    term%
    --rw-rw-r-- M 22 glenda sys     922 Nov 18 23:01 /n/sources/dist/
replica/cd
    d-rwxrwxr-x M 22 glenda sys       0 Nov 18 23:01 /n/sources/dist/
replica/client
    --rw-rw-r-- M 22 glenda sys     237 Nov 18 23:01 /n/sources/dist/
replica/fossil
    --rwxrwxr-x M 22 glenda sys     542 Nov 18 23:01 /n/sources/dist/
replica/inst
    --rwxrwxr-x M 22 glenda sys    1086 Nov 18 23:01 /n/sources/dist/
replica/network
    --rw-rw-r-- M 22 geoff  sys 5763789 Nov 18 23:31 /n/sources/dist/
replica/sources.db
    --rw-rw-r-- M 22 geoff  sys 7158415 Nov 18 23:28 /n/sources/dist/
replica/sources.log

So, I tried:
     term% ls -l /n/sourcesdump/2008/1123/dist/replica
     term% ls -l /n/sourcesdump/2008/1124/dist/replica
     term% ls -l /n/sourcesdump/2008/1118/dist/replica
     ls: /n/sourcesdump/2008/1118/dist/replica: '/n/sourcesdump/
2008/1118/dist' does not exist
     term% ls -l /n/sourcesdump/2008/1119/dist/replica
     term%

Only to be surprised some more.

Any explanation?

Thanks,
Roman.



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

* Re: [9fans] Quick question on sources.cs.bell-labs.com
  2008-12-27 22:19 [9fans] Quick question on sources.cs.bell-labs.com Roman Shaposhnik
@ 2008-12-27 22:38 ` erik quanstrom
  0 siblings, 0 replies; 2+ messages in thread
From: erik quanstrom @ 2008-12-27 22:38 UTC (permalink / raw)
  To: 9fans

> I thought that sources is a general purpose fossil server that archives
> everything in venti dumps, but apparently not:
>     term% 9fs sourcesdump
>     term% ls -l /n/sourcesdump/2008/1225/dist/replica
>     term%

fossil has a dirty trick.  its called DMTMP.  this is for files
that aren't supposed to go to venti.

; g DMTMP /sys/include/libc.h
/sys/include/libc.h:560: #define DMTMP		0x04000000	/* mode bit for non-backed-up files */

now, taking a look at replica with the magic T flag,

; ls -lTd replica
t d-rwxrwxr-x M 161 glenda sys 0 Nov 23 23:20 replica

ken's fs does not support this trick.

- erik




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

end of thread, other threads:[~2008-12-27 22:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-27 22:19 [9fans] Quick question on sources.cs.bell-labs.com Roman Shaposhnik
2008-12-27 22:38 ` erik quanstrom

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).