Btrfs disk layout question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am working on a project with Btrfs and I was wondering if there is
any way to see the disk layout of the btrfs image. Let's assume I have
a read-only btrfs image with compression on and only using one disk
(no raid or anything). Is it possible to get a set of offset-lengths
for each file or metadata parts of the image. I know there is an
unfinished documentation for On-disk Formant in here:
https://btrfs.wiki.kernel.org/index.php/On-disk_Format
But it is not complete and does not show what I am looking for. Is
there any other documentation on this? Is there any public API that I
can use to get this information. For example can I iterate on all
files starting from the root node and get all offset-lengths? This way
any part that doesn't come can be assumed as metadata. I don't really
care what is inside the metadata, I just want to know their
offset-lengths in the file system.

Thank you,
Amin.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux