Linux-mtd Archive on lore.kernel.org
 help / color / Atom feed
From: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
To: Boris Stein <boris.stein@gmail.com>
Cc: Richard Weinberger <richard.weinberger@gmail.com>,
	linux-mtd@lists.infradead.org
Subject: Re: cannot ubiupdatevol squashfs image
Date: Wed, 11 Sep 2019 15:24:36 +0200
Message-ID: <314ca09e-8fce-dc68-c159-58ab3cd29efe@sigma-star.at> (raw)
In-Reply-To: <CAFkQurLSN2XqRscBxONXyTYngbszRe3q8eFEtvB7qS+dtpG-YA@mail.gmail.com>

On 9/11/19 2:41 PM, Boris Stein wrote:
> Which tool should I use for dumping squashfs volume?
> 

I would try to either use dd on the ubiblock which you are trying to mount,
or cat on the underlying ubi volume and pipe it into a file.

It shouldn't matter if there's extra garbage at the end. The SquashFS super
block specifies the exact size of the image.

Regards,

David

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

  reply index

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-10 13:10 Boris Stein
2019-09-10 19:31 ` Richard Weinberger
2019-09-10 23:55   ` David Oberhollenzer
2019-09-11 12:41     ` Boris Stein
2019-09-11 13:24       ` David Oberhollenzer [this message]
2019-09-12  7:32         ` Boris Stein

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=314ca09e-8fce-dc68-c159-58ab3cd29efe@sigma-star.at \
    --to=david.oberhollenzer@sigma-star.at \
    --cc=boris.stein@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=richard.weinberger@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-mtd Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-mtd/0 linux-mtd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-mtd linux-mtd/ https://lore.kernel.org/linux-mtd \
		linux-mtd@lists.infradead.org linux-mtd@archiver.kernel.org
	public-inbox-index linux-mtd


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-mtd


AGPL code for this site: git clone https://public-inbox.org/ public-inbox