Re: write on device

From: Steve Kargl (sgk_at_troutmask.apl.washington.edu)
Date: 01/31/04

  • Next message: Melvyn Sopacua: "Re: defaultrouter/static routes not picked up from /etc/rc.conf"
    Date: Sat, 31 Jan 2004 09:06:30 -0800
    To: Sergey Matveychuk <sem@ciam.ru>
    
    

    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.

    -- 
    Steve
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Melvyn Sopacua: "Re: defaultrouter/static routes not picked up from /etc/rc.conf"

    Relevant Pages

    • Re: write on device
      ... >>It's looks like I can't write on devices into boot area on 5.x? ... >>Even when I'm root. ... >>I can't create a partition, can't change MBR. ... The author of GEOM has given GEOM ...
      (freebsd-current)
    • Re: Protection from the dreaded "rm -fr /"
      ... > newfs only works if the root is not mounted because otherwise the device is ... (Hmm is GEOM too anti foot shooting? ...
      (freebsd-hackers)
    • write on device
      ... It's looks like I can't write on devices into boot area on 5.x? ... Even when I'm root. ... I can't create a partition, can't change MBR. ...
      (freebsd-current)