Displaying 1 result from an estimated 1 matches for "nbg_inode_table".
Did you mean:
bg_inode_table
2008 Feb 01
2
How to read group descriptor?
...up dsc for this
block..i.e. first group descriptor for first block group
read(fd,buff,block_size); //read first block. It should contain
group description structure.
memcpy((void *)gdesc,(void *)buff,sizeof(struct ext3_group_desc));
//try to print some field inside structure..
printf("\nbg_inode_table:%u",gdesc->bg_inode_table); //Bang....It
gives me zero.
close(fd);
return 0;
}