Weird fdisk behavior
pmurray at nevada.net.nz
Mon Jun 20 00:01:39 GMT 2005
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.
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.
More information about the freebsd-stable