In message <[EMAIL PROTECTED]>, Craig Rodrigues writes: >On Wed, Dec 25, 2002 at 05:37:46AM -0800, Kris Kennaway wrote: >> On Tue, Dec 24, 2002 at 01:31:10PM -0500, Craig Rodrigues wrote: >> >> > Any ideas what the problem could be? >> >> geom seems to have anti-foot-shooting measures in place to disallow >> access to the disk device when a partition on that disk is open. > >Are you referring to this in src/sys/geom/geom_bsd.c? > > 547 /* > 548 * If the user tries to overwrite our disklabel through an open partition > 549 * or via a magicwrite config call, we end up here and try to prevent > 550 * footshooting as best we can. > 551 */ > 552 static void > 553 g_bsd_hotwrite(void *arg) > > >The result of this is that I booted off of a slice contained on the >/dev/ad0 disk, then I cannot add new partitions to /dev/ad0 >with sysinstall, even if I am root.
Correct. Use "disklabel -e ad0s1" -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message