This commit is contained in:
timeshifter
2026-05-03 15:10:45 +02:00
parent 5f1cbf5f67
commit e8daad0c16
+1 -5
View File
@@ -91,17 +91,13 @@ impl ZPool {
}
pub fn export(self) -> Result<()> {
todo!()
zpool_export(&self.name)
}
pub fn scrub(&self) -> Result<()> {
zpool_scrub(&self.name)
}
pub fn status(&self) -> Result<String> {
todo!()
}
pub fn import(name: &str) -> Result<ZPool> {
zpool_import(name)?;
let result = ZPool::new(name)?;