Can't change partition table anymore

Daniel O'Connor doconnor at gsoft.com.au
Sun Apr 3 19:15:34 PDT 2005


On Mon, 4 Apr 2005 11:39, Andrey Chernov wrote:
> > Make sure you set it back to 0 after you're done.
>
> Thanx, I'll try, but why fdisk/sysinstall don't do that automatically for
> me as it was before for many years?

It's not fdisk or sysinstalls job to second guess you.

Altering the MBR while you have a partition mounted is potentially quite 
dangerous.

The reason it was possible in the past was because there was no protection 
against this kind of thing.

> F.e. I can't even change active boot partition. What is foot-shooting
> prevention in that case? I see nothing but stupidity.

Use boot0cfg and the FreeBSD bootloader instead?

It disallows writing the MBR full stop - it does not try and work out what is 
changing.

Arguably it should be more intelligent, but.. patches accepted ;)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050404/7112df28/attachment.bin


More information about the freebsd-current mailing list