> > > d_mounts: who overlaps it (root of the tree mounted atop of our
> > > dentry) _or_ dentry itself if it's not a mountpoint; in other words it's a
> > > step upwards.
> > > d_covers: opposite.
> >
> > Sorry, I still cannot distinguish between d_mounts and d_covers. Say a
> > example, if /dev/cdrom is mounted under /mnt , then what does d_mounts and
> > d_covers mean respectively? What's the difference or relationship between them?
>
> /mnt has d_covers pointing to the root of the filesystem mounted on it.
> d_mounts of the root of the mounted filesystem points to /mnt on the
> root filesystem.
With your kind help, now I can understand d_parent, d_subdirs, d_child. But I
still cannot grasp the meaning of d_covers and d_mounts exactly :-((
Can you give me more detailed information about these two, please?
Thank you very much.
> --
> Matthew Wilcox <willy@bofh.ai>
> "Windows and MacOS are products, contrived by engineers in the service of
> specific companies. Unix, by contrast, is not so much a product as it is a
> painstakingly compiled oral history of the hacker subculture." - N Stephenson
-- #################################### Linux is more powerful than windows dony.he@huawei.com.cn ####################################- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/