From owner-freebsd-questions@FreeBSD.ORG Sun Sep 14 13:26:54 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 1D2A716A4BF for ; Sun, 14 Sep 2003 13:26:54 -0700 (PDT) Received: from remt21.cluster1.charter.net (remt21.cluster1.charter.net [209.225.8.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE0CA43FAF for ; Sun, 14 Sep 2003 13:26:52 -0700 (PDT) (envelope-from chowse@charter.net) Received: from [66.168.145.25] (HELO moe) by remt21.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 157707627; Sun, 14 Sep 2003 16:26:51 -0400 From: "Charles Howse" To: "'Jerry McAllister'" , "'Rob Lahaye'" Date: Sun, 14 Sep 2003 15:26:43 -0500 Message-ID: <007701c37afe$83660910$04fea8c0@moe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-reply-to: <200309141551.h8EFpGYu005148@clunix.cl.msu.edu> Importance: Normal 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 20:26:54 -0000 > > 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. I'm confused here, but that's nothing new... I'm running 4.8-RELEASE-p4. 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? 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?