From nobody Thu Jan 6 11:23:01 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 237F51938700 for ; Thu, 6 Jan 2022 11:23:12 +0000 (UTC) (envelope-from 4250.82.1d4d800003f7e50.c92e1b857a1822964aed24c6666f73dd@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JV3r00J4Yz3sDX for ; Thu, 6 Jan 2022 11:23:12 +0000 (UTC) (envelope-from 4250.82.1d4d800003f7e50.c92e1b857a1822964aed24c6666f73dd@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1641468192; x=1644060192; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=XoaLD33SzDm/gEOfyuROHyHMz+uFRBmSlIknNcipcrE=; b=SO1sLYDfRH9Ns76mPw/p5gMouWPgZJLghjp4OAeF4BltEh9b9qLE5wbPXHGf57FRJ/+Rul5qiKZ1DEfZWOgei21OE9C9tzRsSIA71qiNPPEE8V5PtBASo3asRdHgel1CpSUeyVjUngDVdj9VPgwskwl0Nc8jvKSP/hri3X67UEw= X-Thread-Info: NDI1MC4xMi4xZDRkODAwMDAzZjdlNTAuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r2.us-east-1.aws.in.socketlabs.com (r2.us-east-1.aws.in.socketlabs.com [142.0.191.2]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 6 Jan 2022 06:23:03 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r2.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 6 Jan 2022 06:23:02 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1n5QrF-000MMI-Sy; Thu, 06 Jan 2022 11:23:01 +0000 Date: Thu, 6 Jan 2022 11:23:01 +0000 From: Steve O'Hara-Smith To: andrew clarke Cc: freebsd-questions@freebsd.org Subject: Re: size of /var/db/freebsd-update Message-Id: <20220106112301.bf6ece37c5581f250f03517e@sohara.org> In-Reply-To: <20220106103703.j7v3b36jpltdq4eh@ozzmosis.com> References: <20220106103703.j7v3b36jpltdq4eh@ozzmosis.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) X-Clacks-Overhead: "GNU Terry Pratchett" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4JV3r00J4Yz3sDX X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Thu, 6 Jan 2022 21:37:03 +1100 andrew clarke wrote: > > with regards to size. > > After a successful update it's safe to delete that directory entirely. > > $ sudo rm -rf /var/db/freebsd-update/ > > The only minor hiccup is freebsd-update will fail now > that /var/db/freebsd-update/ no longer exists: So instead just remove the contents viz: sudo rm -rf /var/db/freebsd-update/* ^ Just don't put a space here. -- Steve O'Hara-Smith