From 44a5c07562d1650c85ed7e2135a3af51141c5aae Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 30 Jun 2022 05:20:42 -0600 Subject: more --- pkg/btrfs/btrfsitem/item_dev.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/btrfs') diff --git a/pkg/btrfs/btrfsitem/item_dev.go b/pkg/btrfs/btrfsitem/item_dev.go index 1c0fea0..e7b214a 100644 --- a/pkg/btrfs/btrfsitem/item_dev.go +++ b/pkg/btrfs/btrfsitem/item_dev.go @@ -7,6 +7,8 @@ import ( "lukeshu.com/btrfs-tools/pkg/util" ) +// key.objectid = BTRFS_DEV_ITEMS_OBJECTID +// key.offset = device_id (starting at 1) type Dev struct { // DEV_ITEM=216 DevID btrfsvol.DeviceID `bin:"off=0x0, siz=0x8"` -- cgit v1.2.3-2-g168b