Subject: Re: pkg/31944
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 03/08/2006 00:06:25
The following reply was made to PR kern/31944; it has been noted by GNATS.
From: David Laight <david@l8s.co.uk>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/31944
Date: Wed, 8 Mar 2006 00:10:13 +0000
On Tue, Mar 07, 2006 at 08:50:02AM +0000, Julio M. Merino Vidal wrote:
> The following reply was made to PR kern/31944; it has been noted by GNATS.
>
> From: "Julio M. Merino Vidal" <jmmv84@gmail.com>
> To: gnats-bugs@netbsd.org
> Cc:
> Subject: Re: pkg/31944
> Date: Tue, 7 Mar 2006 09:47:21 +0100
>
> > 1. tmpfs doesn't free tmpfs_nodes until unmount.
>
> This is because, once a node has been created, tmpfs needs to keep its id
> and generation number so that if the same node is reused it carries the same
> generation number.
Maybe use 64bit inode numbers ?
Or do something similar to the way process ids are allocated to avoid reusing
number quickly.
After all only NFS exports can (or rather will) open files using the file-id
based on inode+generation number.
David
--
David Laight: david@l8s.co.uk