From: Russ Dill <Russ.Dill@asu.edu>
To: leeyang <leeyang@ycig.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: need suggestion about embedded FS plan
Date: 03 Feb 2003 12:27:08 -0700 [thread overview]
Message-ID: <1044300428.15823.11.camel@timmy> (raw)
In-Reply-To: <001401c2c802$8b31ed30$0200a8c0@ycigrnd.ycig.com>
> In fact,there is only a little fs need to
> be 'SAVE',like /etc direcory,it take rooms less
> than %1 of all flash size.And the main parts
> /lib,/sbin,/bin...maybe never changed.
> So I have an idea,
> Put main parts of fs(/lib,/sbin....)on Cramfs
> at one of the flash bank.
> Put bootloader,kernel and need-save-fs(/etc) on
> the other flash bank with jffs2 fs.
>
> Is that possible?Sth ,I am not sure,is if no
> /etc in root fs,Maybe it can not boot up!!!
just make a /linuxrc, linuxrc is a shell script run by the kernel
(init=/linuxrc) that would do stuff like:
#!/bin/sh
mount -t ramfs ramfs /var
mount -t ramfs ramfs /tmp
mkdir /var/run
mkdir /var/lock
mount -t jffs2 /dev/mtd2 /etc
exec /sbin/init
--
Russ Dill <Russ.Dill@asu.edu>
next prev parent reply other threads:[~2003-02-03 19:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-30 1:54 need suggestion about embedded FS plan leeyang
2003-02-03 19:27 ` Russ Dill [this message]
2003-02-03 19:29 ` Siddharth Choudhuri
2003-02-03 19:37 ` Russ Dill
2003-02-03 21:37 ` Henrik Nordstrom
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=1044300428.15823.11.camel@timmy \
--to=russ.dill@asu.edu \
--cc=leeyang@ycig.com \
--cc=linux-mtd@lists.infradead.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.