pub fn subvol_rootrefs(fd: BorrowedFd<'_>) -> Result<Vec<SubvolRootRef>>Expand description
List the child subvolumes directly under the subvolume opened by fd.
Returns all subvolumes whose root is referenced from the given
subvolume. The kernel returns results in batches of up to 255; this
function handles continuation automatically by advancing min_treeid.
Does not require CAP_SYS_ADMIN.
Errors: ENOTTY on kernels older than 4.18.