Subject: Re: Read-only root filesystem
To: Mikael =?iso-8859-1?Q?Nystr=F6m?= <micke@samladtrupp.se>
From: Quentin Garnier <cube@cubidou.net>
List: netbsd-users
Date: 05/20/2007 23:03:37
--+qNChTrHUOKOVxyU
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, May 20, 2007 at 11:30:12AM +0200, Mikael Nystr=F6m wrote:
[...]
> (actually softlinks for motd/resolv.conf etc), but how about /dev? =20
> Don't I need it to be read-write? I guess it's not so smart to make =20
> it a separate partition since it will probably break stuff while =20
> booting ...

rm /dev/console

And then init(8) will create a MFS file-system for /dev.

OTOH, I have a read-only /dev at home on my gateway, but then the only
way to log onto it is through the console, so there's little need for a
writable /dev.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"You could have made it, spitting out benchmarks
Owe it to yourself not to fail"
Amplifico, Spitting Out Benchmarks, Hometakes Vol. 2, 2005.

--+qNChTrHUOKOVxyU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)

iQEVAwUBRlC3qdgoQloHrPnoAQI7Wwf9GbNsQOc7qE5uuQZReq3ZaF18fWO4n61p
lZgC3qtnrrODjh914CctLBlZdfX9/sf11eZax4HIsqDJ8ibfsk+I7FrfFphNaUlV
mA3fmZrABej2qZksewFIaSCRlhXdfOwZIvAD4t7YtwBSWBnlpI/UM11+MNEz5R79
is5WYT7+Uk6Cd9cfVQgzYxe7AqtjA8wq/KUfZ/7hxzCrk/NSdnBwHpKb1J+z5Us9
Y9V2Kk+WRByr6HUAq+T/kJ71ztjVcZp2VKhk86LFLtCaiDg9uhx94qwhZzHwRA6h
x5BBAn9rtQRv4XsOXXPwDy++ZaZfSahXK+oZl4VI/B1xlVWskZTBcA==
=AoSW
-----END PGP SIGNATURE-----

--+qNChTrHUOKOVxyU--