I need to be able to read the information in a ufs file system's inode table. I realize that something like the C stat function gets similar information, but this would be too slow for what we're trying to do - ncheck is a lot faster than find.
I've got the general idea of what I need to do, but I'm still fuzzy on the details. Reading the raw disk like this is fairly foreign territory for me. Does anyone have any examples or suggestions?
Our test box is an Ultra-4 running SunOS 5.8. I have root privileges.