Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 1996 10:08:00 -0500
From:      "Garrett A. Wollman" <wollman@lcs.mit.edu>
To:        uhclem@nemesis.lonestar.org (Frank Durda IV)
Cc:        hackers@freebsd.org, current@freebsd.org
Subject:   Re: sup%d is broken - I agree 
Message-ID:  <9602071508.AA19245@halloran-eldar.lcs.mit.edu>
In-Reply-To: <m0tjzAx-000CCzC@nemesis.lonestar.org>
References:  <m0tjzAx-000CCzC@nemesis.lonestar.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Tue, 6 Feb 96 20:00 WET, uhclem@nemesis.lonestar.org (Frank Durda IV) said:

> Why not have some other app generate a sanity file just prior to sup
> synchronizing itself?

This is trivial to do with mtree(8).

`mtree -c -k type,size,md5digest' will generate a file such as the
following:

#          user: wollman
#       machine: khavrinen.lcs.mit.edu
#          tree: /homes/www/fccdb/tv
#          date: Wed Feb  7 10:07:00 1996

# .
/set type=file
.               type=dir size=512
    dadb.dat    size=2185146 md5digest=308569da7ad8edeaf6c091c220e79dcc
    dadiction.txt \
                size=20260 md5digest=86157fa1ba227d1b354eca408d5ee062
    dadiction.txt.bak \
                size=22952 md5digest=49146ae1f7dc7c0f2fbc6d4d0269c2a5
    dadiction.txt~ \
                size=20708 md5digest=594ed1815da95bf7c5b5388b633fe53d
    tvdadb.dat  size=2354271 md5digest=a988653e01e540d6064038f978b7c7a0
    tvdadiction.txt \
                size=22952 md5digest=49146ae1f7dc7c0f2fbc6d4d0269c2a5
    tvdadiction.txt~ \
                size=22952 md5digest=49146ae1f7dc7c0f2fbc6d4d0269c2a5
    tvdb.dat    size=5134864 md5digest=cac9bbf8490171606a6f1ad343e07752
    tvdiction.txt \
                size=25955 md5digest=3ca56d717d0b84aa0f36a390601ab1a7
    tvdiction.txt.bak \
                size=25955 md5digest=3ca56d717d0b84aa0f36a390601ab1a7
    tvdiction.txt~ \
                size=25955 md5digest=3ca56d717d0b84aa0f36a390601ab1a7
..

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9602071508.AA19245>