Subject: Re: Using tmpfs instead of mfs for "MAKEDEV -M"
To: None <tech-userlevel@NetBSD.org>
From: Bill Stouder-Studenmund <wrstuden@netbsd.org>
List: tech-userlevel
Date: 12/11/2007 17:46:21
--RYJh/3oyKhIjGcML
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Dec 09, 2007 at 09:26:06PM -0600, David Young wrote:
> On Sun, Dec 09, 2007 at 02:07:33PM +0200, Alan Barrett wrote:
> > mount_tmpfs(8) seems to be quite stable, so I'd like to
> > start using it instead of mount_mfs(8) for "MAKEDEV -M".
> > Not all our INSTALL-like or GENERIC-like kernels include
> > "file-system TMPFS", so I'd make MAKEDEV fall back to
> > using mfs if tmpfs doesn't work.
>=20
> I don't know if it is important, but tmpfs does not provide whitespace,
> so mounting it -o union may not always work as one expects.

Note that -o union !=3D mount -t unionfs. Also, my understanding was that=
=20
unionfs created the whiteouts, so that even if tmpfs supported them, you=20
wouldn't see a difference in how /dev is handled.

Take care,

Bill

--RYJh/3oyKhIjGcML
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFHXz1tWz+3JHUci9cRAv7BAJ9HJwD17LIPCb0bbIwMmkBWayq5RQCfVtti
QupOxBkE1R0RTUvRm/b8Y0U=
=hiD/
-----END PGP SIGNATURE-----

--RYJh/3oyKhIjGcML--