Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jan 2012 17:52:47 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        Rob Clark <rpclark@tds.net>
Cc:        Andre Goree <andre@drenet.info>, freebsd-stable@freebsd.org
Subject:   Re: GENERIC make buildkernel error / fails - posix_fadvise
Message-ID:  <4F0F8E6F.8000909@FreeBSD.org>
In-Reply-To: <20120112200843.2a348d2f.rpclark@tds.net>
References:  <20120111161110.4258969c.rpclark@tds.net> <CAN-pd=cPY=Eg1RintaBx6GAon3FsLm-X0h6yvSBxzq=EZ5ukbg@mail.gmail.com> <20120112200843.2a348d2f.rpclark@tds.net>

next in thread | previous in thread | raw e-mail | index | archive | help

>> chflags -R noschg /usr/obj/usr
>> rm -rf /usr/obj/usr

It's much faster to do:

/bin/rm -rf ${obj}/* 2> /dev/null || /bin/chflags -R 0 ${obj}/* &&
/bin/rm -rf ${obj}/*




-- 

	You can observe a lot just by watching.	-- Yogi Berra

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/




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