[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dd question
From: |
Samuel Thibault |
Subject: |
Re: dd question |
Date: |
Mon, 18 Oct 2010 19:14:23 +0200 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
Jose Luis Alarcon Sanchez, le Mon 18 Oct 2010 17:42:20 +0000, a écrit :
> On Tue, Oct 12, 2010 at 08:14:56PM +0200, Samuel Thibault wrote:
> >
> > Mmm, this image is bogus, it doesn't have the size announced in its
> > partition table. Jose, please run
> >
> > dd if=/dev/zero of=debian-hurd-03102010-qemu.img.tar seek=2146959359 bs=1
> > count=1
> >
> > to extend its size, and reupload. Else the swap area is just unusable.
> >
> > Samuel
> >
>
> Samuel, please,
>
> What's the difference between run this two commands?:
>
> dd if=/dev/zero of=debian-hurd-03102010-qemu.img.tar seek=2146959359 bs=1
> count=1
>
> dd if=/dev/zero of=debian-hurd-03102010-qemu.img seek=2146959359 bs=1 count=1
>
> Do both "the same thing", or not?.
Oops, no, they don't. I meant to do the latter, of course, to extend the
image *before* recompressing it.
Samuel