Date: Mon, 19 Aug 2002 19:21:49 +0100 From: Nik Clayton <nik@freebsd.org> To: =?iso-8859-1?Q?Aur=E9lien?= Nephtali <aurelien.nephtali@wanadoo.fr> Cc: stable@freebsd.org Subject: Re: root (/) not soft-updates by default ? Message-ID: <20020819182149.GB30377@clan.nothing-going-on.org> In-Reply-To: <20020819144928.GA6628@nebula.wanadoo.fr> References: <20020819144928.GA6628@nebula.wanadoo.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020819182149.GB30377>