From owner-freebsd-questions@FreeBSD.ORG Sun Sep 14 02:09:01 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 967E716A4BF for ; Sun, 14 Sep 2003 02:09:01 -0700 (PDT) Received: from spam1.snu.ac.kr (spam2.snu.ac.kr [147.46.10.68]) by mx1.FreeBSD.org (Postfix) with SMTP id DBE2343FCB for ; Sun, 14 Sep 2003 02:08:59 -0700 (PDT) (envelope-from lahaye@snu.ac.kr) Received: (snipe 8596 invoked by alias); 14 Sep 2003 09:36:57 -0000 Received: from lahaye@snu.ac.kr with Spamsniper2.0 (Processed in 0.049705 secs); Received: from unknown (HELO sis1.snu.ac.kr) (147.46.10.36) by 0 with SMTP; 14 Sep 2003 09:36:57 -0000 X-RCPTTO: freebsd-questions@freebsd.org, Received: from snu.ac.kr ([147.46.44.183]) by sis1.snu.ac.kr (8.12.9/8.12.9) with ESMTP id h8E986SZ303552 for ; Sun, 14 Sep 2003 18:08:07 +0900 Message-ID: <3F643029.3000708@snu.ac.kr> Date: Sun, 14 Sep 2003 18:08:57 +0900 From: Rob Lahaye Organization: Seoul National University - South Korea User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030726 X-Accept-Language: en-us, ko-kr MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: 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 09:09:01 -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 !! Regards, Rob.