Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1583

Count blocks or file system size AXFS

$
0
0

Hi,

I'm modifying the driver axfs. But I'm having difficulties to find the file system size that is mounted.

I'm looking for a variable with the number of blocks to calculate or a variable with this info FS size.

I looked at the struct axfs_super, but the variables: "size" or "blocks" in this struct are 0. I can read the follow variables of this struct in the file axfs_super.c:

  • magic
  • phys_start_addr
  • virt_start_addr

Anyone has a tip on how to find the size of the file system mounted?

 

Thanks


Viewing all articles
Browse latest Browse all 1583

Trending Articles