Date: Wed, 31 Mar 2004 01:59:46 -0800 From: Scott Sewall <scott@redlinenetworks.com> To: Steve Kargl <sgk@troutmask.apl.washington.edu> Cc: current@freebsd.org Subject: Re: write on device Message-ID: <406A9692.4080501@redlinenetworks.com> In-Reply-To: <20040131170630.GA75298@troutmask.apl.washington.edu> References: <401B31DA.9000203@ciam.ru> <20040131170630.GA75298@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Steve Kargl wrote: >On Sat, Jan 31, 2004 at 07:40:58AM +0300, Sergey Matveychuk wrote: > > >>Hello. >> >>It's looks like I can't write on devices into boot area on 5.x? >>Even when I'm root. Why? >>I can't create a partition, can't change MBR (I'm working with grub). >> >>Is there a workaround? >> >> > >This is becoming a FAQ. The author of GEOM has given GEOM >the useful feature of disabling writes to active devices. >You can set the kern.geom.debugflags sysctl in /boot/loader.conf >to 16 which allows footshooting. > > No need to modify loader.conf. You can simply execute the following command: sysctl -w kern.geom.debugflags=16 -- Scott
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?406A9692.4080501>