Sorry if this is a stupid question, I am confused by the concept of an inode.
Say I have a file.dat nested in a multi-level directory structure like this:
folder_1 ->
folder_2->
folder_3->
file.dat
How many inode(s) does this file take up in the filesystem? Is it one (1 inode per file?) or 4 (including the folders?)