Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Apr 2005 03:42:53 +0400
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        current@freebsd.org, phk@freebsd.org
Subject:   Re: Can't change partition table anymore
Message-ID:  <20050403234252.GA46022@nagual.pp.ru>
In-Reply-To: <20050403233852.GA45951@nagual.pp.ru>
References:  <20050403232027.GA42574@nagual.pp.ru> <20050403233852.GA45951@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 04, 2005 at 03:38:53AM +0400, Andrey Chernov wrote:
> On Mon, Apr 04, 2005 at 03:20:27AM +0400, Andrey Chernov wrote:
> > Recent -current says "Operation not permitted" for both fdisk and 
> > sysinstall partition changes (under su root). Something wrong happens with 
> > DIOCSMBR. Plain ATA disk ad0. Any ideas?
> 
> When I comment out this two lines in geom_mbr.c, it works again as before:
>                 //if (!(fflag & FWRITE))
>                 //        return (EPERM);
> It means something is wrong with FWRITE flag settings. Device itself is 
> writeable:
> crw-r-----  1 root  operator    8,  66 Apr  4 03:33 /dev/ad0

BTW, only fdisk works after that change, sysinstall continue to say
ERROR: Unable to write data to disk ad0!
I suspect more FWRITEs hidden somewhere...

-- 
http://ache.pp.ru/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050403234252.GA46022>