Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Apr 2005 06:57:06 +0400
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        current@FreeBSD.ORG
Subject:   Re: Can't change partition table anymore
Message-ID:  <20050404025705.GA48464@nagual.pp.ru>
In-Reply-To: <200504041145.25265.doconnor@gsoft.com.au>
References:  <20050403232027.GA42574@nagual.pp.ru> <200504041107.42147.doconnor@gsoft.com.au> <20050404020924.GA48010@nagual.pp.ru> <200504041145.25265.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Mon, Apr 04, 2005 at 11:45:17AM +0930, Daniel O'Connor wrote:
> Altering the MBR while you have a partition mounted is potentially quite 
> dangerous.

Don't say "dangerous" for _root_ user. Is there any purpose left for being 
root anymore? According to your logic, all root operations should be 
disabled by some unknown undocumented sysctls because it is too dangerous 
to be the root. Better kill yourself than to be the root.

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

Does anybody asks for protection here? It was not me. It was not majority 
of Unix sysadmins. Such kind of protection should be turned off by default 
in case it even exists as the toy for some paranoid people.

> Use boot0cfg and the FreeBSD bootloader instead?

boot0cfg not works (I assume the reason is the same).

I can't write FreeBSD bootloader because reinstalled Windows overwrite it 
with standard MBR and sysinstall don't allow to write bootloader anymore. 
The only thing I not try yet in that situation was 'dd' - I was too lasy 
to find needed byte.

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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iQCVAwUBQlCtAeJgpPLZnQjrAQLv/QQAqLHs+eZuYdKWcvUC7e0t6VlP5PDXcbVg
8sR3VZFJoqDN1FRDKx9h1euLCKsPLFp58e60XchoixXqhOUFwZYUbAhbacAzURqX
nfvG5k33QFXnVb8K2PvuJUceYuLhKwV8LilCrPTyKXyac5WUJxlsYm3bjQtNbJBw
5kztyg2WFKs=
=dfhh
-----END PGP SIGNATURE-----

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