#[repr(C)]pub struct btrfs_util_subvolume_info {Show 16 fields
pub id: u64,
pub parent_id: u64,
pub dir_id: u64,
pub flags: u64,
pub uuid: [u8; 16],
pub parent_uuid: [u8; 16],
pub received_uuid: [u8; 16],
pub generation: u64,
pub ctransid: u64,
pub otransid: u64,
pub stransid: u64,
pub rtransid: u64,
pub ctime: timespec,
pub otime: timespec,
pub stime: timespec,
pub rtime: timespec,
}Expand description
struct btrfs_util_subvolume_info - Information about a Btrfs subvolume.
Fields§
§id: u64@id: ID of this subvolume, unique across the filesystem.
parent_id: u64@parent_id: ID of the subvolume which contains this subvolume, or zero for the root subvolume (BTRFS_FS_TREE_OBJECTID) or orphaned subvolumes (i.e., subvolumes which have been deleted but not yet cleaned up).
dir_id: u64@dir_id: Inode number of the directory containing this subvolume in the parent subvolume, or zero for the root subvolume (BTRFS_FS_TREE_OBJECTID) or orphaned subvolumes.
flags: u64@flags: On-disk root item flags.
uuid: [u8; 16]@uuid: UUID of this subvolume.
parent_uuid: [u8; 16]@parent_uuid: UUID of the subvolume this subvolume is a snapshot of, or all zeroes if this subvolume is not a snapshot.
received_uuid: [u8; 16]@received_uuid: UUID of the subvolume this subvolume was received from, or all zeroes if this subvolume was not received. Note that this field, @stransid, @rtransid, @stime, and @rtime are set manually by userspace after a subvolume is received.
generation: u64@generation: Transaction ID of the subvolume root.
ctransid: u64@ctransid: Transaction ID when an inode in this subvolume was last changed.
otransid: u64@otransid: Transaction ID when this subvolume was created.
stransid: u64@stransid: Transaction ID of the sent subvolume this subvolume was received from, or zero if this subvolume was not received. See the note on @received_uuid.
rtransid: u64@rtransid: Transaction ID when this subvolume was received, or zero if this subvolume was not received. See the note on @received_uuid.
ctime: timespec@ctime: Time when an inode in this subvolume was last changed.
otime: timespec@otime: Time when this subvolume was created.
stime: timespec@stime: Not well-defined, usually zero unless it was set otherwise. See the note on @received_uuid.
rtime: timespec@rtime: Time when this subvolume was received, or zero if this subvolume was not received. See the note on @received_uuid.
Trait Implementations§
Source§impl Clone for btrfs_util_subvolume_info
impl Clone for btrfs_util_subvolume_info
Source§fn clone(&self) -> btrfs_util_subvolume_info
fn clone(&self) -> btrfs_util_subvolume_info
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more