diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-07-02 22:10:55 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-07-02 22:10:55 -0600 |
commit | 6b3974fe1c4616d8b9872d88d737623cc48c4368 (patch) | |
tree | a4b795bfbef48aefca949c96b4bd9f14b4a79992 /pkg/btrfs/btrfsitem/item_uuid.go | |
parent | e43749b899d09b57310240fe3abf0f964b9e0cd0 (diff) |
subvolumes
Diffstat (limited to 'pkg/btrfs/btrfsitem/item_uuid.go')
-rw-r--r-- | pkg/btrfs/btrfsitem/item_uuid.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/btrfs/btrfsitem/item_uuid.go b/pkg/btrfs/btrfsitem/item_uuid.go index d66e102..6b47547 100644 --- a/pkg/btrfs/btrfsitem/item_uuid.go +++ b/pkg/btrfs/btrfsitem/item_uuid.go @@ -7,6 +7,9 @@ import ( // The Key for this item is a UUID, and the item is a list of // subvolume IDs (ObjectIDs) that that UUID maps to. +// +// key.objectid = first half of UUID +// key.offset = second half of UUID type UUIDMap []internal.ObjID // UUID_SUBVOL=251 UUID_RECEIVED_SUBVOL=252 func (o *UUIDMap) UnmarshalBinary(dat []byte) (int, error) { |