Date: Fri, 22 Oct 1999 17:52:57 -0700 (PDT) From: Jeff Gray <jwg@netbox.com> To: Mark Ovens <mark@dogma.freebsd-uk.eu.org> Cc: Questions at FreeBSD <freebsd-questions@freebsd.org> Subject: Re: newbie kernel question- strip problem Message-ID: <Pine.BSF.4.10.9910221740320.28205-100000@cm-24-142-61-16.cableco-op.ispchannel.com> In-Reply-To: <19991023011835.B588@marder-1>
next in thread | previous in thread | raw e-mail | index | archive | help
Maybe a [silly] rehash, but maybe not. The reason I ask is that neither the archives nor the earlier post by Jason indicated that it was necessary to change permissions to do this before using strip -g on a kernel. I am trying to understand if I am solving the correct problem by changing permissions. Is this because of the coversion to ELF? If so, then this rehash is not completely silly. What I intend to do if the change of permissions is the way to look at it. chflags noschg /kernel strip -g --strip-debug kernel chflags schg /kernel shutdown -r now Thanks to all, jeff > > /kernel has the immutable flag set: > > marder-1# ls -lo kernel > -r-xr-xr-x 1 root wheel schg 1694816 Oct 17 20:07 kernel > ^^^^ > > use ``chflags noschg /kernel'' to remove it, then strip(1). > > Don't forget to reset it after with ``chflags schg /kernel'' > > HTH 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?Pine.BSF.4.10.9910221740320.28205-100000>