Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jul 2006 13:23:22 +0300 (EEST)
From:      Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>
To:        freebsd-stable@freebsd.org
Subject:   Misleading "fdisk: Geom not found" in 6.1-RELEASE
Message-ID:  <20060704130402.X31561@atlantis.atlantis.dp.ua>

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

Hello!

  I've noticed that using fdisk against ad2 drive gives misleading diagnostics
at the end of execution (there are no mounted partitions at the drive, OS
boot device is ad0):

root@test# uname -r
6.1-RELEASE
root@test# mount|grep ad2
root@test# fdisk -a ad2
******* Working on device /dev/ad2 *******
...
Partition 2 is marked active
Do you want to change the active partition? [n] y
Supply a decimal value for "active partition" [2] 1
Are you happy with this choice [n] y
...
Should we write new partition table? [n] y
fdisk: Geom not found
root@test#

One can think that it's an error message, however new partition table
actually gets written to the disk, next fdisk run (and 'hd /dev/ad2', to be 
sure) confirms so. What's the reason of this message? fdisk(8) doesn't
reply to this question. The strangest thing is that this message doesn't
show during modification of partition table on system disk (ad0). Modification
succeeds in both cases.

Sincerely, Dmitry
-- 
Atlantis ISP, System Administrator
e-mail:  dmitry@atlantis.dp.ua
nic-hdl: LYNX-RIPE



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