Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Sep 2003 11:51:15 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        lahaye@snu.ac.kr (Rob Lahaye)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mergemaster: "schg" flag for temproot/var/emtpy ??
Message-ID:  <200309141551.h8EFpGYu005148@clunix.cl.msu.edu>
In-Reply-To: <3F643029.3000708@snu.ac.kr> from "Rob Lahaye" at Sep 14, 2003 06:08:57 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309141551.h8EFpGYu005148>