Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 1996 19:23:13 +0200
From:      Poul-Henning Kamp <phk@critter.tfs.com>
To:        "Julian H. Stacey" <jhs@FreeBSD.org>
Cc:        joerg@FreeBSD.org, current@FreeBSD.org
Subject:   Re: ctm & disc full 
Message-ID:  <663.843585793@critter.tfs.com>
In-Reply-To: Your message of "Tue, 24 Sep 1996 15:34:38 %2B0200." <199609241334.PAA07476@vector.jhs.no_domain> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199609241334.PAA07476@vector.jhs.no_domain>, "Julian H. Stacey" wri
tes:
>No great problem if applying manually,
>But could be problematic for those who have procmail applying ctm patches
>in background mode, if the disc fills up.
>
>In an ideal world .ctm_status could record both start of application
>& end of succesful application, but that'd need a patch, & some discussion,
>meantime, could you document the hazard ?

The solution is to implement this:

	cd /home
	rm -rf ncvs.tmp
	mkdir ncvs.tmp
	cd ncvs
	find . -print | cpio -dumpl ../ncvs.tmp
	cd ../ncvs.tmp
	if ctm -v <whatever> ; then
		cd ..
		mv ncvs ncvs.old
		mv ncvs.tmp ncvs
		rm -rf ncvs.old
	fi

--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@ref.tfs.com       TRW Financial Systems, Inc.
Future will arrive by its own means, progress not so.



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