From owner-freebsd-questions Mon Jul 31 17: 8: 1 2000 Delivered-To: freebsd-questions@freebsd.org Received: from web2.sea.nwserv.com (web2.sea.nwserv.com [216.145.16.2]) by hub.freebsd.org (Postfix) with ESMTP id CF76237BDB1 for ; Mon, 31 Jul 2000 17:07:28 -0700 (PDT) (envelope-from dpk@nwserv.com) Received: from localhost (dpk@localhost) by web2.sea.nwserv.com (8.9.3/8.9.2) with ESMTP id RAA01427; Mon, 31 Jul 2000 17:07:08 -0700 (PDT) (envelope-from dpk@nwserv.com) Date: Mon, 31 Jul 2000 17:07:08 -0700 (PDT) From: David Kirchner X-Sender: dpk@web2.sea.nwserv.com To: daniel B Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Can't delete /sys : Operation not permited! In-Reply-To: <20000730160017.A78686@almazs.pacex.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Envelope-To: danielb@pacex.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Daniel, A couple of suggestions (probably wrong, just ideas): o Make sure the root partition is not mounted read-only. I believe this would cause that error. o To see the flags for /sys, type 'ls -old /sys'. That'll tell you what you may need to do with chflags to be able to remove the file. -- David Kirchner, dpk@nwserv.com On Sun, 30 Jul 2000, daniel B wrote: > Hi > > I just did make buildworld to 3.5-STABEL and make installworld failed > because it could not delete /sys. > ls -la /sys > lrwxrwxrwx 1 root wheel ...... /sys -> /usr/src/sys > > I didi: chflags -RL noschg /sys and: rm -rf /sys > I get Operation not permited > > Then I did chflags -RL nosunlink /sys and rm -rf /sys > still no luck! > Kern securelevel is not an issue since I droped to -1 to do this operation. > > How can I remove /sys > > Dan > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message