Re: multiple vnodes for same file?

2012-07-09 Thread Rhialto
On Mon 09 Jul 2012 at 06:10:14 +, Emmanuel Dreyfus wrote: > Another approach could be to refrain the kernel from reclaiming vnodes > that still have children. It seems much simplier. Back in the day when I wrote MSH: (a MSDOS filesystem for the Amiga), I think I did that. (Locks on) Directorie

Re: multiple vnodes for same file?

2012-07-09 Thread Emmanuel Dreyfus
On Mon, Jul 09, 2012 at 06:48:20PM +, David Holland wrote: > I don't know what the data structures involved look like, but what you > say suggests they're wrong. "a" and "b/.." have the same inode number, > and you should therefore naturally get the same object back from > lookup. Yes, I am wo

Re: multiple vnodes for same file?

2012-07-09 Thread David Holland
On Mon, Jul 09, 2012 at 06:10:14AM +, Emmanuel Dreyfus wrote: > Here is an example on which I stuggle right now: > - lookup a in / > - lookup b in a > - reclaim a > - lookup .. in b > -> this is a, but I forgot its name. I also have a problem to reference its > parent. > - lookup