From: David Woodhouse <dwmw2@infradead.org>
To: Michael <xemc@yahoo.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Rootfs choice ideas
Date: Tue, 21 Dec 2004 12:39:26 +0000 [thread overview]
Message-ID: <1103632766.6111.74.camel@localhost.localdomain> (raw)
In-Reply-To: <20041217231645.79122.qmail@web52701.mail.yahoo.com>
On Fri, 2004-12-17 at 15:16 -0800, Michael wrote:
> And we can modify files freely.
Yes but you don't _have_ to modify files freely. You can exercise a
little restraint :)
> However, there seem to be some disadvantages:
> 1. Instead of versioning a fixed filesystem image (which you could
> do with cramfs or initrd), you now manage a collection of files
> each of which could change independently.
Yes. This is usually done in packages -- by RPM or more usefully on an
embedded system by something smaller like ipkg. Take a look at the
Familiar distribution.
> 2. It would be hard or impractical to check the entire image for
> consistency, as you could with a cramfs image.
'rpm -Vva'
Not sure if ipkg stores checksums of the installed files.
> 3. I could perhaps run into problems when updating it, for
> instance if the update fails part-way through.
You reattempt the update after you come back up.
> 4. There seems to be some overhead in scanning the rootfs at boot
> time (yeah, there are recent changes that speed this up), and
> garbage collection running in the background. (which is a seperate
> issue)
These are true. We're trying to improve it.
> So, it's acting very much like a desktop (which can possibly
> develope cruft), and very little like an embedded device (which
> typically can't change).
>
> Does anyone share some of these same concerns (or perhaps others as
> well)? What schemes have you used or seen, and how do they
> compare?
Basically it's up to you -- if you can manage to live with a read-only
file system, as presumably you could since you seem to consider
writeability a disadvantage, then you might as well stick with cramfs.
--
dwmw2
next prev parent reply other threads:[~2004-12-21 12:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-17 23:16 Rootfs choice ideas Michael
2004-12-21 12:39 ` David Woodhouse [this message]
2004-12-21 20:01 ` xemc
[not found] <1CFEB358338412458B21FAA0D78FE86D4F0CA7@rennsmail02.eu.thmulti.com>
2004-12-21 19:21 ` Michael
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=1103632766.6111.74.camel@localhost.localdomain \
--to=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=xemc@yahoo.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