Andrey Chernov wrote: > On Mon, Apr 04, 2005 at 10:16:46AM -0500, Sam Lawrance wrote: > >>On Mon, 2005-04-04 at 03:42 +0400, Andrey Chernov wrote: >> >>>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... >> >>Any part of ad0 mounted rw? I think you can't do it when that's the >>case. > > > ad0s1a mounted to / > (no additional ad0* mounts) > I do it always without any problems in the past. > When I boot to single user and try, the picture remains exact the same > (with / mounted readonly). "Me too". I can use sysinstall to mess with other devices, but not ad0. I've done this 100 times before on previous FBSD's.. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology A lost ounce of gold may be found, a lost moment of time never. ------------------------------------------------------------------------Received on Sun Apr 03 2005 - 23:19:46 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:31 UTC