Date: Sun, 14 Sep 2003 23:22:29 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Charles Howse <chowse@charter.net> Cc: freebsd-questions@freebsd.org Subject: Re: mergemaster: "schg" flag for temproot/var/emtpy ?? Message-ID: <20030914222229.GA12717@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <007701c37afe$83660910$04fea8c0@moe> References: <200309141551.h8EFpGYu005148@clunix.cl.msu.edu> <007701c37afe$83660910$04fea8c0@moe>
next in thread | previous in thread | raw e-mail | index | archive | help
--T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 14, 2003 at 03:26:43PM -0500, Charles Howse wrote: > > > SO I did type mergemaster and all went well. > > >=20 > > > Decided then to remove the temproot directory, but failed! > > >=20 > > > # rm -rf /var/tmp/temproot > > > rm: /var/tmp/temproot/var/empty: Operation not permitted > > > rm: /var/tmp/temproot/var: Directory not empty > > > rm: /var/tmp/temproot/: Directory not empty > > >=20 > > > Took me a long while to figure out the=20 > > /var/tmp/temproot/var/empty direcoty > > > has the schg flag set. Very, very confusing. > > > Is there any reason why it is like that? > > > If not, then do not create the empty directory with schg !! > >=20 > > Because /var/empty should not be deleted. Some programs use it. > > I don't know about that particilar variation. >=20 > I'm confused here, but that's nothing new... > I'm running 4.8-RELEASE-p4. >=20 > I can read what Jerry says, but does he mean that /var/empty should not > be deleted, or that /var/tmp/temproot/var/empty should not be deleted? >=20 > These two directories are completely different, and if I'm rebuilding > from source for, say, the second time, then /var/tmp/temproot/var/empty > might exist and definitly should be deleted, right? >=20 /var/tmp/temproot/var/empty should be deleted by mergemaster along with the rest of temproot. There were some modifications a few months back to enable it to deal with the .../var/empty directory -- essentially it just does a 'rm -rf' to get rid of as much as possible, then a 'chflags -R 0' to de-flag the rest and 'rm -rf' again to finish off the job. Perhaps you have an older version of mergemaster before that capability was added. Anyhow, feel free to zap the contents of /var/tmp/temproot manually. Leave /var/empty alone, unless you've got something against ssh(1) working properly. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --T4sUOijqQbZv57TR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/ZOoldtESqEQa7a0RAtY4AJwKrDg23MD1PreMMekrfE+9dZrQ6gCgjY1R MHedELHnwL1DHtQcAbjOnbA= =i3XY -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030914222229.GA12717>