From 3fed60c4d5e1b97cf001cc92d3acc7600fcc7ae6 Mon Sep 17 00:00:00 2001 From: Harald Sitter Date: Thu, 7 Aug 2025 15:33:33 +0200 Subject: [PATCH] migrator: show message while migrating --- btrfs-migrator/src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/btrfs-migrator/src/main.rs b/btrfs-migrator/src/main.rs index 985fb01..9bef174 100644 --- a/btrfs-migrator/src/main.rs +++ b/btrfs-migrator/src/main.rs @@ -10,6 +10,11 @@ use dialoguer::{self, Confirm}; fn run(root: &Path, usr: &Path) -> Result<(), Box> { env::set_current_dir(root)?; + let _ = Command::new("plymouth") + .arg("display-message") + .arg("--text=Migrating to v2 rootfs. Can take a while.") + .status(); + let system_path = root.join("@system"); if system_path.exists() { println!("@system exists already. Skipping migration.");