Andrey V. Elsukov wrote on 20.02.2011 20:51:
On 20.02.2011 22:20, Marco Steinbach wrote:
gatekeeper# truss gpart restore ufsid/4d2665945e9460e3
[...]
sigaction(SIGINT,{ 0x281e3880 0x0 ss_t },0x0) = 0 (0x0)
fstat(0,{ mode=crw--w---- ,inode=153,size=0,blksize=4096 }) = 0 (0x0)
ioctl(0,TIOCGETA,0xbfbfb170) = 0 (0x0)
Hi,
it is just waiting for input what it should restore.
Did you read manual page? :)
Quite a discovery not being able to simply read man pages thoroughly enough.
Thanks for pointing my nose to that :)
The correct way, as pointed out in the second mail from Andrey and quite
prominently stated in the man page, is to first gpart backup the GPT
table, and then use gpart recover (not restore).
Which worked as advertised.
MfG CoCo
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-geom
To unsubscribe, send any mail to "[email protected]"