Subject: Re: CVS commit: src
To: Julio M. Merino Vidal <jmmv@netbsd.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: source-changes
Date: 09/15/2005 15:03:09
--ZARJHfwaSJQLOEUz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Sep 13, 2005 at 09:30:52PM +0000, Julio M. Merino Vidal wrote:
>=20
> Module Name:	src
> Committed By:	jmmv
> Date:		Tue Sep 13 21:30:52 UTC 2005
>=20
> Modified Files:
> 	src/regress/sys/fs/tmpfs: t_readdir
> 	src/sys/fs/tmpfs: tmpfs_vfsops.c
>=20
> Log Message:
> Nodes cannot use the '0' identifier or they will be skipped by readdir.
> E.g., the root node's '.' and '..' directory entries did not appear in
> a directory list, because the root node always holds the first id.

Actually, the root node usually gets identifier 2 in a number of file=20
systems. Node 1 is often used as roots "parent."

Other file systems have taken the root =3D=3D 2 behavior and used inode 1 f=
or=20
special things.

Take care,

Bill

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

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

iD8DBQFDKe+dWz+3JHUci9cRAo1AAJ9HqIAYPxYP1Zbsqk3qdLIrrF4DUACgmOyY
4VFkQ1oFGojNPnyYDzq/cRo=
=XCZr
-----END PGP SIGNATURE-----

--ZARJHfwaSJQLOEUz--