write on device

Harald Schmalzbauer h at schmalzbauer.de
Sat Jan 31 09:21:18 PST 2004


On Saturday 31 January 2004 18:06, 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.

I think this _really_ is FAQ. Yesterday I had the same trouble and I 
remembered having heard about it several times but never paid attention.
Please include this in the FAQ!
Perhaps with explanation what the other debugflags are good for!

Thank you,

-Harry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040131/90dfe8af/attachment-0001.bin


More information about the freebsd-current mailing list