Raphael, I think you are looking for ZFS Ondisk format document. You can find one here : https://jhell.googlecode.com/files/ondiskformat0822.pdf
Today the command zdb can be used to dump the ZFS ondisk objects and zdb uses libzpool which understand the ondisk layout. Thanks and regards, Sanjeev On Mon, Oct 21, 2013 at 12:28 PM, Raphael S Carvalho < [email protected]> wrote: > I send the below mail to Brian Behlendorf, but everyone is welcome to help > me =) > I will write a read-only ZFS driver, and I'm looking for a > specification that focus on the on-disk structure of a ZFS partition. > > If anyone is aware of a *read-link* ZFS driver whose source code is > open, then it would be awesome. > If there is also a tool that dumps the ZFS structure (e.g. super > block) and inodes, then it would be amazing =) > > By the way, I am using Linux, and I'm still looking for a good environment. > Setting up a good environment isn't an easy task, but ZFS on Linux > seems to be the right place to get started with. > > Thanks in advance. > > ---------- Forwarded message ---------- > From: Raphael S Carvalho <[email protected]> > Date: Mon, Oct 21, 2013 at 4:39 AM > Subject: ZFS driver - Need your help ;) - Specification > To: [email protected] > > > Hi, I am about to write a read-only driver for ZFS, and I found your > project very useful and needed to my environment. > > As you ported ZFS to run natively on Linux, I think you could help me > with a good specification about the ZFS on-disk structure. Which one > did you use while working on it? > > Many of them have info that aren't too useful for those writing > drivers as an example. > I would appreciate any feedback on the matter. > > Regards, > Raphael S. Carvalho. > > > -- > Raphael S. Carvalho > _______________________________________________ > developer mailing list > [email protected] > http://lists.open-zfs.org/mailman/listinfo/developer >
_______________________________________________ developer mailing list [email protected] http://lists.open-zfs.org/mailman/listinfo/developer
