Skip to main content

subvolume_default_set

Function subvolume_default_set 

Source
pub fn subvolume_default_set(fd: BorrowedFd<'_>, subvolid: u64) -> Result<()>
Expand description

Set the default subvolume of the filesystem referred to by fd to subvolid.

Pass FS_TREE_OBJECTID to restore the default. Requires CAP_SYS_ADMIN.