From fb55b66d35437dc1fa29e9745e061d0487462009 Mon Sep 17 00:00:00 2001 From: Zhang Tianci Date: Thu, 6 Jul 2023 10:45:00 +0800 Subject: [PATCH 1/2] nydusctl: fixup umount argument usage Signed-off-by: Zhang Tianci --- src/bin/nydusctl/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/nydusctl/main.rs b/src/bin/nydusctl/main.rs index 5278bdfc580..0d0741fc631 100644 --- a/src/bin/nydusctl/main.rs +++ b/src/bin/nydusctl/main.rs @@ -134,8 +134,7 @@ async fn main() -> Result<()> { Arg::new("mountpoint") .help("Mountpoint of the filesystem instance") .short('m') - .required(true) - .index(1), + .required(true), ), ); From 02afb8f8f000b2fb5c97dccf93ad0c79ceb2a14e Mon Sep 17 00:00:00 2001 From: Zhang Tianci Date: Thu, 6 Jul 2023 10:45:28 +0800 Subject: [PATCH 2/2] builder: add a trace log for building v5 image Signed-off-by: Zhang Tianci --- builder/src/core/v5.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/builder/src/core/v5.rs b/builder/src/core/v5.rs index 7d58ac2ebfb..78a6b78c212 100644 --- a/builder/src/core/v5.rs +++ b/builder/src/core/v5.rs @@ -37,6 +37,7 @@ impl Node { ctx: &mut BuildContext, f_bootstrap: &mut dyn RafsIoWrite, ) -> Result<()> { + trace!("[{}]\t{}", self.overlay, self); if let InodeWrapper::V5(raw_inode) = &self.inode { // Dump inode info let name = self.name();