rebuilding world - is chflags -R noschg * necessary?

2010-09-23 Thread Anton Shterenlikht
The fbsd manual states in section 24.7 Rebuilding world: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html in subsection 24.7.6 Remove /usr/obj *quote* Some files below /usr/obj may have the immutable flag set (see chflags(1) for more information) which must be removed

Re: rebuilding world - is chflags -R noschg * necessary?

2010-09-23 Thread Polytropon
On Thu, 23 Sep 2010 12:02:17 +0100, Anton Shterenlikht me...@bristol.ac.uk wrote: I've never seen a file under /usr/obj/ with immutable flag set. I think it was a directory called empty/ that couldn't be removed unless the flag was unset. This makes this step neccessary when you rm -rf /usr/obj

Re: rebuilding world - is chflags -R noschg * necessary?

2010-09-23 Thread Arthur Chance
On 09/23/10 15:10, Polytropon wrote: On Thu, 23 Sep 2010 12:02:17 +0100, Anton Shterenlikhtme...@bristol.ac.uk wrote: I've never seen a file under /usr/obj/ with immutable flag set. I think it was a directory called empty/ that couldn't be removed unless the flag was unset. This makes this

Re: rebuilding world - is chflags -R noschg * necessary?

2010-09-23 Thread Balázs Mátéffy
Hello! Anton is right, really the handbook says that it MAY contain, so it's not necessary that after every build there will be some files with the immutable flag. OFF: Long long time ago one night when I was playing with jails (to be exact I was building and making work my first jail by hand) I

Re: rebuilding world - is chflags -R noschg * necessary?

2010-09-23 Thread Anton Shterenlikht
On Thu, Sep 23, 2010 at 05:17:40PM +0200, Bal?zs M?t?ffy wrote: I think maybe in older releases the build process may have used the immutable flag at build??, but the test machine I tried, started out as maybe 5.2, and I never had this issue once. *skip* Anton if you wanna be sure just do

Re: rebuilding world - is chflags -R noschg * necessary?

2010-09-23 Thread Rob Farmer
On Thu, Sep 23, 2010 at 04:02, Anton Shterenlikht me...@bristol.ac.uk wrote: The fbsd manual states in section 24.7 Rebuilding world: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html in subsection 24.7.6 Remove /usr/obj *quote* Some files below /usr/obj may have the