Date: Mon, 31 Jul 2000 17:11:29 -0700 From: Alfred Perlstein <bright@wintelcom.net> To: David Kirchner <dpk@nwserv.com> Cc: daniel B <danielb@pacex.net>, freebsd-questions@FreeBSD.ORG Subject: Re: Can't delete /sys : Operation not permited! Message-ID: <20000731171129.L4854@fw.wintelcom.net> In-Reply-To: <Pine.BSF.4.21.0007311705200.77341-100000@web2.sea.nwserv.com>; from dpk@nwserv.com on Mon, Jul 31, 2000 at 05:07:08PM -0700 References: <20000730160017.A78686@almazs.pacex.net> <Pine.BSF.4.21.0007311705200.77341-100000@web2.sea.nwserv.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 > > * David Kirchner <dpk@nwserv.com> [000731 17:09] wrote: > > 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. I would check to make sure that / isn't flagged immutable, that would make it impossible to remove files from /. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000731171129.L4854>