Skip to content

docs: document WASI directory paths containing colons - #329

Open
Elvand-Lie wants to merge 1 commit into
WasmEdge:mainfrom
Elvand-Lie:docs/preopen-paths-with-colons
Open

Elvand-Lie wants to merge 1 commit into
WasmEdge:mainfrom
Elvand-Lie:docs/preopen-paths-with-colons

Conversation

@Elvand-Lie

@Elvand-Lie Elvand-Lie commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Explanation

Windows drive paths contain a colon, which the original WasmEdge --dir syntax uses to separate the guest and host paths. The CLI guide now shows how to mount a Windows directory with the new double-colon syntax.

Related issue

Windows drive path report · Merged runtime fix

What type of PR is this

/kind documentation

Proposed Changes

  • Add a PowerShell example using --dir 'data::C:\work\data' and show how to add ::readonly.
  • Clarify that omitting the mode suffix gives read-write access.
  • For WasmEdge 0.18.1 and earlier, show how to change into the host directory and mount it with --dir data:..

Verification

Checked the syntax against the merged runtime fix and confirmed that 0.18.1 predates it. The CLI page passed Prettier 2.8.8's Markdown debug check.

This contribution was developed with assistance from Codex (OpenAI) and Gemini 4 Neon (Google).

Describe the double-colon mapping for Windows drive paths and the
relative-path workaround for earlier WasmEdge releases.

Assisted-by: Codex (OpenAI)
Assisted-by: Gemini 4 Neon (Google)
Signed-off-by: Elvand-Lie <elvandlie@gmail.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant