diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-30 05:20:42 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-30 05:20:42 -0600 |
commit | 44a5c07562d1650c85ed7e2135a3af51141c5aae (patch) | |
tree | e172085d4ed0b2ca1656623793fef92bca1dbbeb /pkg/btrfs | |
parent | f2a8c2bc094c882f20a0be933214b67b489d5e7e (diff) |
more
Diffstat (limited to 'pkg/btrfs')
-rw-r--r-- | pkg/btrfs/btrfsitem/item_dev.go | 2 |
1 files changed, 2 insertions, 0 deletions
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"` |