From: Ewen Chan <alpha754293@hotmail.com>
To: Xiaoling Gao <xiagao@redhat.com>
Cc: "virtio-fs@redhat.com" <virtio-fs@redhat.com>
Subject: Re: [Virtio-fs] How do I start the Windows Virtio-FS service with a different, permanent drive letter that isn't Z?
Date: Mon, 6 Feb 2023 07:20:41 +0000 [thread overview]
Message-ID: <SA1P221MB10188745309CD7EF0C6CF44AB5DA9@SA1P221MB1018.NAMP221.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <CADVA6RSp90OqWpV5yJGo8_yUQ68tmKnpv_=QyXUKNnBXVsd2_Q@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1861 bytes --]
Xiaoling:
Thank you.
I will have to try that.
Sincerely,
Ewen
________________________________
From: Xiaoling Gao <xiagao@redhat.com>
Sent: February 6, 2023 1:44 AM
To: Ewen Chan <alpha754293@hotmail.com>
Cc: virtio-fs@redhat.com <virtio-fs@redhat.com>
Subject: Re: [Virtio-fs] How do I start the Windows Virtio-FS service with a different, permanent drive letter that isn't Z?
The moutnpoint can be set via the registry, and then virtio-fs can parse them from the registry.
Such as: virtiofs.ext -m H:
reg add HKLM\Software\VirtIO-FS /v MountPoint /d H: /t REG_SZ
Ewen Chan <alpha754293@hotmail.com<mailto:alpha754293@hotmail.com>> 于2023年2月5日周日 11:46写道:
To Whom It May Concern:
I was following the instructions in regards to getting Virtio-FS running on a Windows 10 VM in Proxmox 7.3-3 and that part works fine.
However, at the end of those instructions, it says that I can use the "-m" in the command line to explicitly set a drive letter.
I tried editing the VirtioFsSvc service in the Windows Registry Editor either by changing the ImagePath or trying to add the Parameters registry key and neither seemed to work.
Is there a way for me to be able to pass the start parameters so that it would use those the "-m" option automatically?
I even tried creating a really simple batch file, but that leaves a command prompt window open, where once I close said command prompt window (even if I run the batch file in background mode), it will close/disconnect the Virtio-FS connection in said Windows 10 VM.
Your help is greatly appreciated.
Thank you.
Sincerely,
Ewen
_______________________________________________
Virtio-fs mailing list
Virtio-fs@redhat.com<mailto:Virtio-fs@redhat.com>
https://listman.redhat.com/mailman/listinfo/virtio-fs
--
BR,
Xiaoling
[-- Attachment #2: Type: text/html, Size: 5896 bytes --]
prev parent reply other threads:[~2023-02-06 7:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-05 3:46 [Virtio-fs] How do I start the Windows Virtio-FS service with a different, permanent drive letter that isn't Z? Ewen Chan
2023-02-06 6:44 ` Xiaoling Gao
2023-02-06 7:20 ` Ewen Chan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SA1P221MB10188745309CD7EF0C6CF44AB5DA9@SA1P221MB1018.NAMP221.PROD.OUTLOOK.COM \
--to=alpha754293@hotmail.com \
--cc=virtio-fs@redhat.com \
--cc=xiagao@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).