Function label_get
Source pub fn label_get(fd: BorrowedFd<'_>) -> Result<CString>
Expand description
Read the label of the btrfs filesystem referred to by fd.
Returns the label as a CString. An empty string means no label is set.
ยงErrors
Returns Err if the ioctl fails.