Linux has a distinct directory system such as /sys /usr /media /opt
etc. I would like to know what part of linux kernel maps its self to the directory to listen to syscalls as all operation in linux is done using files?
If i have to change the directory system to include a directory like /foo
by default, will I have to look into kernel or an image that runs on top of kernel?
In summary what part of the linux kernel code is responsible for binding with these directories?