Skip to content

Commit

Permalink
print state of filesystem after initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed Jan 12, 2025
1 parent 3c64808 commit 3885625
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ pub(crate) fn init() {
if DEMO.len() > 0 {
info!(
"Found mountable file at 0x{:x} (len 0x{:x})",
&DEMO as *const _ as u64,
DEMO.as_ptr() as u64,
DEMO.len()
);
root.mount(
Expand All @@ -192,7 +192,7 @@ pub(crate) fn init() {
.expect("Unable to mount file");
}

//root.lsdir().unwrap();
root.lsdir().unwrap();
//info!("root {:?}", root);
unsafe {
VFS_ROOT = Some(root);
Expand Down

0 comments on commit 3885625

Please sign in to comment.