Hi,

On 18/06/2005, at 1:28 PM, Baldur Gislason wrote:
I am trying to add another partition to my root drive, it has a few gigabytes of unpartitioned space. Whenever I try to run fdisk -u it says cannot open disk /dev/ad0: No such file or directory ad0 does exist, why does fdisk say otherwise? fdisk can display the partition table but it can't alter it. securelevel is -1 and this is FreeBSD 5.4-STABLE from the beginning of May this year.


Try setting

sysctl kern.geom.debugflags=16

before running fdisk. This stops GEOM protecting the drive/partition and allows fdisk to open it. I think fdisk and bsdlabel have been taught about GEOM in 6-current, but I very might well be wrong.

Cheers
Phil Murray
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to