blob: 45543b3732e183011fa03e42b7a74b82a813a1db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package btrfsitem
import (
"lukeshu.com/btrfs-tools/pkg/binstruct"
"lukeshu.com/btrfs-tools/pkg/btrfs/internal"
)
// The Key for this item is a UUID, and the item is a subvolume IDs
// that that UUID maps to.
//
// key.objectid = first half of UUID
// key.offset = second half of UUID
type UUIDMap struct { // UUID_SUBVOL=251 UUID_RECEIVED_SUBVOL=252
ObjID internal.ObjID `bin:"off=0, siz=8"`
binstruct.End `bin:"off=8"`
}
|