Hello, I'm trying to find out how to browse the file system from the linux kernel. Especially the directory content is interesting to me. Can anyone give me a hint? Are there even some libc like functions to do that ?
So far I have found the filp_open, vfs_read and vfs_readdir functions. However, the vfs_readdir function expects a function pointer to somehow format the directory information. My assumption is that this is the wrong function. So I guess that's not the function I'm after. Thanks, Dan