pub fn subvolume_create(
parent_fd: BorrowedFd<'_>,
name: &CStr,
qgroups: &[u64],
) -> Result<()>Expand description
Create a new subvolume named name inside the directory referred to by
parent_fd.
name must be a plain leaf name (no slashes). The caller is responsible
for opening the correct parent directory. If qgroups is non-empty, the
new subvolume is added to those qgroups. Requires CAP_SYS_ADMIN.