Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



On Tue, Sep 13, 2005 at 09:30:52PM +0000, Julio M. Merino Vidal wrote:
> 
> Module Name:  src
> Committed By: jmmv
> Date:         Tue Sep 13 21:30:52 UTC 2005
> 
> Modified Files:
>       src/regress/sys/fs/tmpfs: t_readdir
>       src/sys/fs/tmpfs: tmpfs_vfsops.c
> 
> 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 
systems. Node 1 is often used as roots "parent."

Other file systems have taken the root == 2 behavior and used inode 1 for 
special things.

Take care,

Bill

Attachment: pgp5AmUY5ubij.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index