diff mbox series

[v2] dev-manual/start.rst: added missing command in Optimize your VHDX file using DiskPart

Message ID 20250721093938.596-1-m.cavallini@koansoftware.com
State Accepted
Headers show
Series [v2] dev-manual/start.rst: added missing command in Optimize your VHDX file using DiskPart | expand

Commit Message

Marco Cavallini July 21, 2025, 9:39 a.m. UTC
After compact vsdisk you have to detach it before exiting
  otherwise the vdisk remains attached.

  DISKPART> select vdisk file="<path_to_VHDX_file>"
  DISKPART> attach vdisk readonly
  DISKPART> compact vdisk
  DISKPART> detach     <------------ new missing command
  DISKPART> exit

Signed-off-by: Marco Cavallini <m.cavallini@koansoftware.com>
---
 documentation/dev-manual/start.rst | 1 +
 1 file changed, 1 insertion(+)

Comments

Antonin Godard Aug. 4, 2025, 7:09 a.m. UTC | #1
On Mon, 21 Jul 2025 11:39:38 +0200, Marco Cavallini wrote:
>   After compact vsdisk you have to detach it before exiting
>   otherwise the vdisk remains attached.
> 
>   DISKPART> select vdisk file="<path_to_VHDX_file>"
>   DISKPART> attach vdisk readonly
>   DISKPART> compact vdisk
>   DISKPART> detach     <------------ new missing command
>   DISKPART> exit
> 
> [...]

Applied, thanks!

[1/1] dev-manual/start.rst: added missing command in Optimize your VHDX file using DiskPart
      commit: 1cc65ddf1a074f61fe5a63d222f3079b7fcb4c1e

Best regards,
diff mbox series

Patch

diff --git a/documentation/dev-manual/start.rst b/documentation/dev-manual/start.rst
index e10367752..803ea2601 100644
--- a/documentation/dev-manual/start.rst
+++ b/documentation/dev-manual/start.rst
@@ -554,6 +554,7 @@  your Yocto Project build host:
          DISKPART> select vdisk file="<path_to_VHDX_file>"
          DISKPART> attach vdisk readonly
          DISKPART> compact vdisk
+         DISKPART> detach
          DISKPART> exit
 
 .. note::