Embedded Linux development
 help / color / mirror / Atom feed
From: Gilad Ben-Yossef <gilad@codefidence.com>
To: Jacob Avraham <jacob@imaginecommunications.com>
Cc: Mike Frysinger <vapier.adi@gmail.com>,
	"linux-embedded@vger.kernel.org" <linux-embedded@vger.kernel.org>
Subject: Re: ramfs/tmpfs for application partition
Date: Sun, 18 Jan 2009 15:55:27 +0200	[thread overview]
Message-ID: <497334CF.5020400@codefidence.com> (raw)
In-Reply-To: <FF584854D6FFE547AB2F7515A798AC3A045716A316@venus.imagineil.tv>

Jacob Avraham wrote:

> Gilad,
>
> Not out of the woods yet.
>
> I can’t just burn a tar ball straight into a raw mtd partition. When 
> I’ll try to untar it, if I’ll do:
>
> tar zxf /dev/mtd6
>
> tar will read the whole mtd partition, and I don’t think it’s a good 
> idea to use a raw device as tar file.
>
> So should I package the tar in a filesystem, like cramfs?
>
That's certainly possible - just make sure your tar file is smaller then 
the 256Mb file limit of cramfs (if memory serves me right) - otherwise 
just use squashfs.


I'll add that if you're already going to have a file system (and your 
reasons seems to make sense to me) I would have just forgot about the 
tar file and put the file in cramfs/squashfs to begin with and just copy 
them over the initramfs during boot (something like cp -a /mnt/mtd6/* /).

> In that case, I don’t need to compress the tar file, as cramfs is 
> compressed, right?
>
That is correct.


Gilad




-- 
Gilad Ben-Yossef 
Chief Coffee Drinker

Codefidence Ltd.
The code is free, your time isn't.(TM)

Web:    http://codefidence.com
Email:  gilad@codefidence.com
Office: +972-8-9316883 ext. 201
Fax:    +972-8-9316885
Mobile: +972-52-8260388

	The Doctor: Don't worry, Reinette, just a nightmare. 
	Everyone has nightmares. Even monsters from under the 
	bed have nightmares, don't you, monster?
	Reinette: What do monsters have nightmares about?
	The Doctor: Me! 

  parent reply	other threads:[~2009-01-18 13:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-15 16:43 ramfs/tmpfs for application partition Jacob Avraham
2009-01-15 16:55 ` Leisner, Martin
2009-01-17  9:39   ` Jacob Avraham
2009-01-17 15:55     ` Marco
2009-01-15 17:04 ` Mike Frysinger
     [not found]   ` <4972E3F4.1020508@codefidence.com>
     [not found]     ` <FF584854D6FFE547AB2F7515A798AC3A045716A316@venus.imagineil.tv>
2009-01-18 13:55       ` Gilad Ben-Yossef [this message]
2009-03-09  6:00 ` Aras Vaichas

Reply instructions:

You may reply publicly 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=497334CF.5020400@codefidence.com \
    --to=gilad@codefidence.com \
    --cc=jacob@imaginecommunications.com \
    --cc=linux-embedded@vger.kernel.org \
    --cc=vapier.adi@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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox