views:

10

answers:

0

Hi,

I wanted to know how can I read and check(1 or 0) the bits of the the I-node bit map of a minix fs bit by bit in c programming language. This way I want check the free and occupied I-nodes. And also if possible to set and unset the bits manually.

Please help.

Thank you

this is the layout of the minix file system

------------------------------------------------------------------------------------------------------data blocks----------- |bootblock 1KB|superblock 1KB|zone bitmap 1KB|I-node bitmap 1KB|I-nodes>1KB| 1KB|1KB|1KB|1KB|~|