From owner-freebsd-stable Mon Aug 19 11:22: 3 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F282737B400 for ; Mon, 19 Aug 2002 11:21:57 -0700 (PDT) Received: from crf-consulting.co.uk (pc-80-194-99-103-hy.blueyonder.co.uk [80.194.99.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61F2643E75 for ; Mon, 19 Aug 2002 11:21:51 -0700 (PDT) (envelope-from nik@crf-consulting.co.uk) Received: from clan.crf-consulting.co.uk (clan.nothing-going-on.org [192.168.1.20]) by crf-consulting.co.uk (8.12.3/8.12.3) with ESMTP id g7JILnTk070358; Mon, 19 Aug 2002 19:21:49 +0100 (BST) (envelope-from nik@catkin) Received: from clan.nothing-going-on.org (localhost [127.0.0.1]) by clan.crf-consulting.co.uk (8.12.3/8.12.3) with ESMTP id g7JILnhB030455; Mon, 19 Aug 2002 19:21:49 +0100 (BST) (envelope-from nik@clan.nothing-going-on.org) Received: (from nik@localhost) by clan.nothing-going-on.org (8.12.3/8.12.3/Submit) id g7JILn1j030454; Mon, 19 Aug 2002 19:21:49 +0100 (BST) Date: Mon, 19 Aug 2002 19:21:49 +0100 From: Nik Clayton To: =?iso-8859-1?Q?Aur=E9lien?= Nephtali Cc: stable@freebsd.org Subject: Re: root (/) not soft-updates by default ? Message-ID: <20020819182149.GB30377@clan.nothing-going-on.org> References: <20020819144928.GA6628@nebula.wanadoo.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FkmkrVfFsRoUs1wW" Content-Disposition: inline In-Reply-To: <20020819144928.GA6628@nebula.wanadoo.fr> User-Agent: Mutt/1.4i Organization: FreeBSD Project Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --FkmkrVfFsRoUs1wW Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 19, 2002 at 04:49:28PM +0200, Aur=E9lien Nephtali wrote: > What is the reason that the mount point (by default, /) hasn't the flag > for soft-updates by default (during the installation), can I set it > without data lost ? Yes you can. The reason it's turned off by default is that one of SoftUpdates 'features' is that it effectively causes file deletions to be delayed for a period of time, as it works to ensure that changes to the disk are ordered. If you're one of those people that has /tmp and/or /var/tmp on / then this can cause problems. For example, suppose that you install two large packages using pkg_add, which, together, are larger than the free space you have in /var/tmp, but separately are small enough that they can extract in to /var/tmp. pkg_add will extract the first package in to /var/tmp. Then it will install it (probably somewhere under /usr/local). Then it will remove the files from /var/tmp, and extract the second package in to /var/tmp. If you've got softupdates turned on, and /var/tmp is too small to hold both of the packages (which it typically is if it's on the root filesystem) then pkg_add may now fail with an out-of-space error, if the space used by the files in the first package hasn't been reclaimed= =20 yet. If you've got softupdates turned off then this situation can never occur. N --=20 FreeBSD: The Power to Serve http://www.freebsd.org/ (__) FreeBSD Documentation Project http://www.freebsd.org/docproj/ \\\'',) \/ \= ^ --- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- .\._/= _) --FkmkrVfFsRoUs1wW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAj1hNzwACgkQk6gHZCw343XQoACfeCuKB3PjmghO+hSGNKTSRtxd KPUAnRqCodpaKC+8b5ttyKFIT8VPxZUB =PoxD -----END PGP SIGNATURE----- --FkmkrVfFsRoUs1wW-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message