On Fri, 7 Sep 2018 21:00:58 +0200
Zbyszek Żółkiewski <zbys...@onefellow.com> wrote:

> 
> > Wiadomość napisana przez Marcus MERIGHI <mcmer-open...@tor.at> w dniu 
> > 07.09.2018, o godz. 18:09:
> > 
> > $ dd bs=8192 skip=1 if=/dev/rsd99z of=backup-keydisk.img
> > $ dd bs=8192 seek=1 if=backup-keydisk.img of=/dev/rsd99z
> 
> thanks for answers but that will make dump of whole 14GB - i would like to 
> shrink it to reasonable size…

Well, from reading the code a little seems the keydisk metadata is at offset
SR_META_OFFSET = 8192 bytes and is SR_META_SIZE (64) * DEV_BSIZE (512 bytes) = 
32768 bytes long.

Time ran out so do what you will with it. This is untested and always keep a 
good backup.

Reply via email to