write on device

Scott Sewall scott at redlinenetworks.com
Wed Mar 31 01:57:50 PST 2004


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




More information about the freebsd-current mailing list