[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: [bug #17877] Invalid "No such file or directory" error on files
From: |
Miklos Szeredi |
Subject: |
Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers |
Date: |
Thu, 05 Oct 2006 16:29:09 +0200 |
> >
> > Shouldn't holding the current directory open prevent the ancestor from
> > changing inodes in this case?
>
> No.
> What's changed is the identity (dev/inode) of the parent directory,
> once you try to chdir("..") "up" beyond the renamed directory.
I understand, that that is the case you want to detect.
But in the normal case (no changes in topology) the parent was
referenced thoughout traversing it's subtree, hence it's inode number
cannot have changed even for an inode-less filesystems.
So I think the problem we are seeing is not for traversing up the
tree, but for traversing down it. In which case the check is not
needed (if O_NOFOLLOW is also available).
Miklos
- Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers, (continued)
- Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers, James Youngman, 2006/10/05
- Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers, Miklos Szeredi, 2006/10/05
- Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers, Jim Meyering, 2006/10/05
- Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers, Miklos Szeredi, 2006/10/05
- Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers, Jim Meyering, 2006/10/05
- Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers, Miklos Szeredi, 2006/10/05
- Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers, Jim Meyering, 2006/10/05
- Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers,
Miklos Szeredi <=
- Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers, Miklos Szeredi, 2006/10/05
- Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers, Jim Meyering, 2006/10/05
- Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers, Miklos Szeredi, 2006/10/05
- Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers, Jim Meyering, 2006/10/05
- Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers, Miklos Szeredi, 2006/10/06
- Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers, Jim Meyering, 2006/10/06
- Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers, Miklos Szeredi, 2006/10/06
- Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers, Miklos Szeredi, 2006/10/06
- Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers, Jim Meyering, 2006/10/06