This discussion is archived
0 Replies Latest reply: May 10, 2002 4:52 AM by 807581 RSS

How do I read the inode table?

807581 Newbie
Currently Being Moderated
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.