Subject: Re: Root file system on Flash mounted R/O
To: Vasant Kanchan <v_kanchan@yahoo.com>
From: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
List: tech-embed
Date: 05/15/2003 10:26:30
--uZ3hkaAS1mZxFaxD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

On Wed, May 14, 2003 at 07:56:01PM -0700, Vasant Kanchan wrote:

> I have a minimal file system  currently on a ZIP disk which I can boot=20
> from. I would like to move this to a CF card which I would prefer to moun=
t=20
> read only.

Look at this:

http://eurobsdcon.org/papers/souvatzis.pdf

which is what I did for a not completely different task.
> Unfortunately there are writes to /tmp /var and /root done by the apps.
> One possiblity to mout ramdisks at /tmp, /var /root.
> Another possibilty is to union mount the ramdisk on top of  root .

Ahem - I guess your device nodes(in /dev) are inaccessible. Remove them,
and run MAKEDEV after the mfs / is mounted over /root.

Regards,
	-is

--uZ3hkaAS1mZxFaxD
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQEVAgUBPsNPNDCn4om+4LhpAQHIQgf+JcluFjp3tn01vowKS3AoGtH+9qVt+Wym
9tqrfiOuH7wWP5t17nryXcAhw54pIr+6lp0lW6N6F3f4Z4cykcmZdETeswo7FNXb
RJkT/M7OdfVpgv1U0oyQddzfH1OAhUKVqt7sVThg29JGJ7VUl6ACf27674TkZ6Z3
/fvD2BPt9n3SPdTFDBdvFNhPYSkT0Yuwf0XzsBQagF9oGQLPkwVAb2LLCx6+r7ny
V+X1BkikR3NWHmP7Vkdz17juNIFyrYf4x1v1mrTB6AAyp7P8YTXN16k5m73y2AGC
hLsVRfWpn4msl8v65XhGOahuxTdNNNg1vtBjGAW2VVPJfo+KzlKX1A==
=Oh5d
-----END PGP SIGNATURE-----

--uZ3hkaAS1mZxFaxD--