aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2023-02-19 19:14:20 +0100
committerHimbeerserverDE <himbeerserverde@gmail.com>2023-02-19 19:14:20 +0100
commit3d854b029023287ba78c0b59fd08ad0e16ba903e (patch)
treeba0d43007a3abe0ee16cbad246b66a114282b84a
parent03148c95003d4ddd83e12481aca6e501170a0ea8 (diff)
mount /dev/mmcblk0p1
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index ad53c42..9793676 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -6,7 +6,7 @@ use sys_mount::{Mount, Unmount, UnmountFlags};
fn main() -> io::Result<()> {
let _mount = Mount::builder()
.fstype("fat")
- .mount("/dev/disk/by-partuuid/00000000-01", "/boot")
+ .mount("/dev/mmcblk0p1", "/boot")
.expect("can't mount boot partition");
let _mount = _mount.into_unmount_drop(UnmountFlags::DETACH);