From owner-freebsd-questions@FreeBSD.ORG Sun Sep 14 08:51:19 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB92316A4BF for ; Sun, 14 Sep 2003 08:51:19 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D12C543FBF for ; Sun, 14 Sep 2003 08:51:18 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.9/8.12.9) with ESMTP id h8EFpHOg005149; Sun, 14 Sep 2003 11:51:17 -0400 (EDT) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.9/8.12.9/Submit) id h8EFpGYu005148; Sun, 14 Sep 2003 11:51:16 -0400 (EDT) From: Jerry McAllister Message-Id: <200309141551.h8EFpGYu005148@clunix.cl.msu.edu> To: lahaye@snu.ac.kr (Rob Lahaye) Date: Sun, 14 Sep 2003 11:51:15 -0400 (EDT) In-Reply-To: <3F643029.3000708@snu.ac.kr> from "Rob Lahaye" at Sep 14, 2003 06:08:57 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: mergemaster: "schg" flag for temproot/var/emtpy ?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2003 15:51:19 -0000 > > Hi, > > I am trying to learn the buildworld and mergemaster process from the Handbook. > > The handbook says: > > [...] > To begin simply type mergemaster at your prompt, and watch it start going. > [..] > > SO I did type mergemaster and all went well. > > Decided then to remove the temproot directory, but failed! > > # 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 > > Took me a long while to figure out the /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 !! Because /var/empty should not be deleted. Some programs use it. I don't know about that particilar variation. ////jerry > > Regards, > Rob.