From 4c9f4171e5bc13b5a6e6849b4f4cc89bdb9c137b Mon Sep 17 00:00:00 2001 From: pjht Date: Mon, 23 Sep 2024 15:35:56 -0500 Subject: [PATCH] Remove unnecessary logging --- src/main.rs | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/main.rs b/src/main.rs index cb3fe8e..b8ccb98 100644 --- a/src/main.rs +++ b/src/main.rs @@ -75,29 +75,13 @@ fn main() { syslog_client.subscribe_to_text(); syslog_client.subscribe_to_binary("devfs".to_string(), vec![0, 1]); syslog_client.subscribe_to_binary("tarfs".to_string(), vec![0]); - syslog_client - .send_text_message("init", "Started syslog") - .unwrap(); let vfs_pid = run_initrd_proc(&initrd, "bin/vfs"); - syslog_client - .send_text_message("init", "Started the VFS") - .unwrap(); run_initrd_proc(&initrd, "bin/devfs"); - syslog_client - .send_text_message("init", "Started the devfs") - .unwrap(); let vfs_client = vfs_rpc::Client::new(vfs_pid); vfs_client .mount(Path::new("/dummy"), "devfs", Path::new("/dev")) .unwrap(); - syslog_client - .send_text_message("init", "Mounted /dev") - .unwrap(); run_initrd_proc(&initrd, "bin/tarfs"); - syslog_client - .send_text_message("init", "Started the tar archive FS") - .unwrap(); - let mut msg_handler = SyslogMessageHandler::new(); loop { @@ -107,9 +91,6 @@ fn main() { } } run_initrd_proc(&initrd, "bin/initrd_driver"); - syslog_client - .send_text_message("init", "Started the initrd pseudodevice driver") - .unwrap(); while !msg_handler .registered_devices .iter() @@ -120,9 +101,6 @@ fn main() { vfs_client .mount(Path::new("/dev/initrd"), "tarfs", Path::new("/")) .unwrap(); - syslog_client - .send_text_message("init", "Mounted the initrd as the root FS") - .unwrap(); Command::new("/bin/partserv").spawn().unwrap(); Command::new("/bin/ext2").spawn().unwrap(); Command::new("/bin/pci").spawn().unwrap();