[haiku-development] Re: reading BFS disk_super_block from disk

  • From: "Ingo Weinhold" <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 15 Jan 2012 13:23:48 +0100

Wakjob wrote:
> Any docs on how to actually reading BFS disk_super_block from disk?
> 
> I've seen the docs on the file system structures, but nothing that describes
> where those structures actually live on disk. In particular, I am looking for
> the byte offset on a BFS device where the BFS disk_super_block lives.

Just have a look in the BFS sources [1]. There's also a whole book on BFS [2].

CU, Ingo

[1] 
http://cgit.haiku-os.org/haiku/tree/src/add-ons/kernel/file_systems/bfs/Volume.cpp#n642
[2] http://www.nobius.org/~dbg/practical-file-system-design.pdf

Other related posts: