Long ago I used to have a lot of failures from fdisk, till some kind soul
on a mail list rescued me with
sysctl kern.geom.debugflags=16
One can but speculate how many others could be saved if we add a note to man
fdisk (or as below per Chris, better fix the source).
We should also add to 'man fdisk' SEE ALSO gpart(1)
Adding both would rescue maximal people & point the way ahead.
> To be honest, I'd be happy with replacing fdisk with a huge warning
> "USE GPART!!"; fdisk isn't really standard anyway.
For visitors from other Unixes, they'll look for fdisk.
(I've never bothered moving to geom / gpart myself, fdisk works fine for me
with debugflags=16)
> The alternative of course is to fix fdisk... *properly*.
Yes, better than adding to manual to document the bug, would be to fix src/
(IMO should have been done way back by those who introduced the
bit in kern.geom.debugflags that broke fdisk). I'd be tempted
to do it myself but must travel soon. Maybe someone fancies
hacking the src/ ?
Till src is patched, a tiny patch to manual would serve as a
better than nothing rescue / reminder to rescue those stuck.
>From Lokadamus <
loka...@gmx.de>
> FreeBSD 9.1RC1 have a live-cd option and with this, fdisk work fine.
Ah yes, that reminds me Ive also seen Fdisk work OK single user.
(Single user awkward though when running a server or ssh/rlogin to a
headless host)
Cheers,
Julian
--
Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich
http://berklix.com
Reply below not above, like a play script. Indent old text with "> ".
Send plain text. Not: HTML, multipart/alternative, base64, quoted-printable.