diff options
Diffstat (limited to 'init/src')
| -rw-r--r-- | init/src/mounts/fstab.rs | 6 | ||||
| -rw-r--r-- | init/src/mounts/rescue.rs | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/init/src/mounts/fstab.rs b/init/src/mounts/fstab.rs index 919607c..3ea62e5 100644 --- a/init/src/mounts/fstab.rs +++ b/init/src/mounts/fstab.rs @@ -163,10 +163,4 @@ impl FstabEntry { Ok(()) } - pub fn mount_from_fstab(entries: &[FstabEntry]) -> Result<(), Box<dyn std::error::Error>> { - for entry in entries { - entry.mount()?; - } - Ok(()) - } }
\ No newline at end of file diff --git a/init/src/mounts/rescue.rs b/init/src/mounts/rescue.rs index 11fa8fe..84517ed 100644 --- a/init/src/mounts/rescue.rs +++ b/init/src/mounts/rescue.rs @@ -1,4 +1,3 @@ -use libc::{self}; use std::ffi::CString; use std::fs::create_dir; |
