Philipp Marek wrote:
On Montag, 2. Juli 2007 Thomas Harold wrote:
I've seen a situation with 1.1.5 where "fsvs ci" from the root (which is
also the WC root) checks in items that don't show up on the "fsvs
status" list. So I need to sit down and examine my ignore list in
greater detail later this week and see if I can make it happen
repeatedly. I've seen it happen twice now, but have yet to go digging.
A "fsvs status" looks at the sizes and timestamps.
If the size is different, the file is known to be changed; if only the ctime
or mtime differs, it *may* have changed.
For directories the size does not really help much.
What about cases where the directories have yet to be added to the FSVS
repository? In this case, I had already committed /etc, /boot,
/var/named to the repository and was looking at "fsvs status" to
determine whether there was anything else that needed to be ignored
prior to my "cleanup" check-in.
(On this particular system, I'm focusing on only putting configuration
files in FSVS.)
[EMAIL PROTECTED] /]# fsvs status
N... 0 ./.autofsck
N... dir ./backup
N... dir ./backup/system
N... dir ./misc
N... dir ./net
N... dir ./opt
N... dir ./usr
N... dir ./usr/etc
N... dir ./usr/games
N... dir ./usr/local/etc
N... dir ./usr/local/games
N... dir ./usr/local/lib64
N... 495 ./usr/local/sbin/raidsync.sh
N... dir ./usr/local/sbin
N... dir ./usr/local
.mC. dir .
.m.? 58 ./etc/fsvs/6666cd76f96956469e7be39d750cc7d9/Urls
.m.. dir ./etc/fsvs/6666cd76f96956469e7be39d750cc7d9
[EMAIL PROTECTED] /]#
[EMAIL PROTECTED] /]# fsvs ignore dump
./bin/
./dev/
./home/
./lib/
./lib64/
./lost+found
./media/
./mnt/
./proc/
./root/
./sbin/
./selinux/
./srv/
./sys/
./tmp/
./usr/bin/
./usr/include/
./usr/kerberos/
./usr/lib/
./usr/lib64
./usr/libexec/
./usr/local/bin/
./usr/local/include/
./usr/local/lib/
./usr/local/libexec/
./usr/local/share/
./usr/local/src/
./usr/sbin/
./usr/share/
./usr/share/applications/
./usr/share/backgrounds/
./usr/share/dict/
./usr/share/doc/
./usr/share/i18n/
./usr/share/info/
./usr/share/locale/
./usr/share/man/
./usr/share/pixmaps/
./usr/share/X11/
./usr/share/zoneinfo/
./usr/src/
./usr/tmp/
./usr/X11R6/
./var/cache/
./var/lib/
./var/lock/
./var/log/
./var/named/chroot/dev/
./var/named/chroot/proc/
./var/named/chroot/var/run/
./var/run/
./var/spool/
./var/svn/
./var/tmp/
./var/www/
[EMAIL PROTECTED] /]#
[EMAIL PROTECTED] /]# fsvs ci -m "checkin of remaining files"
Committing to file:///var/svn/sys-fw-shimo-cfg/current
N... dir ./misc
N... dir ./net
N... 0 ./.autofsck
..C. dir ./var
N... dir ./var/db
N... dir ./var/db/nscd
N... 4588 ./var/db/Makefile
N... dir ./var/empty
N... dir ./var/empty/sshd
N... dir ./var/empty/sshd/etc
N... 3519 ./var/empty/sshd/etc/localtime
N... dir ./var/games
N... dir ./var/local
N... 10 ./var/mail
N... dir ./var/nis
N... dir ./var/opt
N... dir ./var/preserve
N... dir ./var/yp
N... dir ./var/yp/binding
N... 185 ./var/yp/nicknames
N... dir ./var/gdm
N... 33 ./var/gdm/.cookie
N... 45 ./var/gdm/:0.Xauth
N... dir ./var/crash
N... dir ./var/account
N... 0 ./var/account/pacct
N... dir ./var/racoon
N... dir ./var/arpwatch
N... 0 ./var/arpwatch/arp.dat
N... 655 ./var/arpwatch/arp2ethers
N... 841 ./var/arpwatch/arpfetch
N... 315 ./var/arpwatch/d.awk
N... 333 ./var/arpwatch/duplicates.awk
N... 219 ./var/arpwatch/e.awk
N... 260397 ./var/arpwatch/ethercodes.dat
N... 351 ./var/arpwatch/euppertolower.awk
N... 763 ./var/arpwatch/massagevendor
N... 595 ./var/arpwatch/massagevendor-old
N... 1704 ./var/arpwatch/missingcodes.txt
N... 99 ./var/arpwatch/p.awk
N... dir ./var/tux
N... dir ./usr
N... dir ./usr/etc
N... dir ./usr/games
N... dir ./usr/local
N... dir ./usr/local/etc
N... dir ./usr/local/games
N... dir ./usr/local/lib64
N... dir ./usr/local/sbin
N... 495 ./usr/local/sbin/raidsync.sh
N... dir ./opt
N... dir ./backup
N... dir ./backup/system
.m.. dir ./etc/fsvs/6666cd76f96956469e7be39d750cc7d9
.mC. 58 ./etc/fsvs/6666cd76f96956469e7be39d750cc7d9/Urls
.mC. 833 ./etc/fsvs/6666cd76f96956469e7be39d750cc7d9/Ign
committed revision 5 on 2007-07-04T11:02:27.724032Z as root
[EMAIL PROTECTED] /]#
As you can see, "fsvs ci" picked up a lot of extra stuff that wasn't
shown in the "fsvs status" command. (And I forgot to try "fsvs status -C".)
What I'm suspecting is that things like ./var/arpwatch didn't show up in
the original "fsvs status" list, because I had manually checked-in
"/var/named" during an earlier commit. So "fsvs status" looked at /var,
saw that it hadn't changed, and didn't go peeking deeper in. When "fsvs
ci" ran, it did check /var more thoroughly.
So, nothing to see here, moving on...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]