Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jun 2007 14:40:03 -0400
From:      Garance A Drosehn <gad@FreeBSD.org>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: Uggg!
Message-ID:  <p06240807c2861786a05c@[128.113.24.47]>
In-Reply-To: <f3oukd$ff5$1@sea.gmane.org>
References:  <200706010521.l515LE4N074880@harmony.bsdimp.com> <f3oukd$ff5$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 2:06 PM +0300 6/1/07, Volodymyr Kostyrko wrote:
>Warner Losh wrote:
>>my portupgrade -a died in the middle.  Well, the laptop in my
>>battery died at a bad time.  all of my +CONTENTS files are gone.
>>Is there any hope?
>
>Dodged that lately. Actually in my case most files were dumped
>into lost+found so just a lil bit of awk|mv does the job.

Not that this will help Warner's situation, but I like to add a
'sync' or two after doing some longer operation.  The trick is
to pick the best times to do that.  For a portupgrade, it might
be a good idea to add a 'sync' right after doing each package-
register step.  That should not slow things down much, and it's
a good time to try and force disk-I/O out to the disk.

-- 
Garance Alistair Drosehn     =               drosehn@rpi.edu
Senior Systems Programmer               or   gad@FreeBSD.org
Rensselaer Polytechnic Institute;             Troy, NY;  USA



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