mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
use fsck instead of e2fsck
This commit is contained in:
committed by
Aiden McClelland
parent
dd58044cdf
commit
22666412c3
@@ -278,7 +278,7 @@ pub async fn mount_fs<P: AsRef<Path>>(
|
||||
.invoke(crate::ErrorKind::DiskManagement)
|
||||
.await?;
|
||||
let mapper_path = Path::new("/dev/mapper").join(&full_name);
|
||||
let reboot = repair.e2fsck(&mapper_path).await?;
|
||||
let reboot = repair.fsck(&mapper_path).await?;
|
||||
// Backup LUKS header if e2fsck succeeded
|
||||
let luks_folder = Path::new("/media/embassy/config/luks");
|
||||
tokio::fs::create_dir_all(luks_folder).await?;
|
||||
|
||||
Reference in New Issue
Block a user