How is the path of a directory retrieved in UNIX filesystems? Since directories are pointing to subdirectories it seems like the path need to be set together from the parent and parent parents etc.
Is this how it's done or are the paths stored somewhere in the inodes?