Re: write on device

From: Scott Sewall <scott_at_redlinenetworks.com>
Date: Wed, 31 Mar 2004 01:59:46 -0800
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
Received on Tue Mar 30 2004 - 23:57:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:49 UTC