On Tue, 2006-02-28 at 22:39 +0530, Ashish Khurange wrote: > >which "the" filesystem? > > > > > *root filesystem*. The file system whose root directory is root of the > system's directory tree. there IS no such thing! Each process has it's OWN mount tree, including own "root filesystem". It's called "namespaces". Sure, often they're shared. But that's not a given. So read again: THERE IS NO SUCH THING AS *THE* ROOT FILESYSTEM. If your code assumes there is then you need to rethink it! > When I have dentry object of a file. Can I traverse till root's dentry > using dentry->d_parent, step by step? no because a mount point can be mounted in different places, and you don't know which one to chase. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/