Subject: Re: tmpfs added
To: None <tech-kern@netbsd.org>
From: Juan RP <juan@xtrarom.org>
List: tech-kern
Date: 09/13/2005 11:53:54
On Tue, 13 Sep 2005 11:48:56 +0200
"Julio M. Merino Vidal" <jmmv84@gmail.com> wrote:

> On 9/13/05, Geoff Wing <mason@primenet.com.au> wrote:
> > Julio M. Merino Vidal <jmmv84@gmail.com> typed:
> > : I'm pleased to announce that tmpfs, an (efficient) memory
> > file-system, : has been added to NetBSD's main source tree.
> > 
> > tmpfs_vnops.c: readdir should return ``.'' and ``..'' as well, yes?
> 
> Yes, it has to and it does.  (See tmpfs_dir_getdotdent and
> tmpfs_dir_getdotdotdent, both called from tmpfs_readdir.)

Looks like to me it doesn't:

[juan@Nocturno][~]> ls -la /mnt/home
total 4
drwxr-xr-x   2 root  wheel  512 Apr  4 20:31 .
drwxr-xr-x  17 root  wheel  512 Sep  1 01:34 ..
[juan@Nocturno][~]> sudo mount_tmpfs tmpfs /mnt/home 
[juan@Nocturno][~]> ls -la /mnt/home                
[juan@Nocturno][~]>