- # hack to get $ powershell -Command 'Mount-DiskImage -ImagePath L:\download\debian-12.4.0-amd64-DVD-1.iso' # working...
- diff --git a/daemon/fileinfoutil.c b/daemon/fileinfoutil.c
- index 2556c87..cfd9e79 100644
- --- a/daemon/fileinfoutil.c
- +++ b/daemon/fileinfoutil.c
- @@ -221,7 +221,7 @@ void nfs_to_remote_protocol_info(
- rpi_out->StructureVersion = 4;
- rpi_out->StructureSize = sizeof(FILE_REMOTE_PROTOCOL_INFORMATION);
- - rpi_out->Protocol = WNNC_NET_RDR2SAMPLE; /* FIXME! */
- + rpi_out->Protocol = WNNC_NET_SMB; /* FIXME! */
- /* ToDo: Add pNFS info */
- rpi_out->ProtocolMajorVersion = 4;
- @@ -234,7 +234,7 @@ void nfs_to_remote_protocol_info(
- * |REMOTE_PROTOCOL_FLAG_PRIVACY| (krb5p) and
- * |REMOTE_PROTOCOL_FLAG_INTEGRITY| (krb5i) in case of Krb5 auth
- */
- - rpi_out->Flags = 0;
- + rpi_out->Flags = 0;//REMOTE_PROTOCOL_INFO_FLAG_PERSISTENT_HANDLE|REMOTE_PROTOCOL_FLAG_PRIVACY|REMOTE_PROTOCOL_FLAG_INTEGRITY|REMOTE_PROTOCOL_FLAG_LOOPBACK;
- }
- #ifdef NFS41_DRIVER_WSL_SUPPORT
- diff --git a/sys/nfs41sys_fsctl.c b/sys/nfs41sys_fsctl.c
- index c1a3f2b..cf81d3f 100644
- --- a/sys/nfs41sys_fsctl.c
- +++ b/sys/nfs41sys_fsctl.c
- @@ -895,6 +895,22 @@ NTSTATUS nfs41_FsCtl(
- case FSCTL_DUPLICATE_EXTENTS_TO_FILE:
- status = nfs41_DuplicateData(RxContext);
- break;
- +#define FSCTL_SRV_REQUEST_RESUME_KEY 0x140078
- + case FSCTL_SRV_REQUEST_RESUME_KEY:
- + XXCTL_LOWIO_COMPONENT *FsCtl =
- + &RxContext->LowIoContext.ParamsFor.FsCtl;
- +
- + DbgP("DUMMY FSCTL_SRV_REQUEST_RESUME_KEY\n");
- + if ((FsCtl->pOutputBuffer == NULL) || (FsCtl->OutputBufferLength < 28)) {
- + status = STATUS_INVALID_USER_BUFFER;
- + }
- + else {
- + (void)memset(FsCtl->pOutputBuffer, 0, 28);
- + RxContext->IoStatusBlock.Information =
- + RxContext->InformationToReturn = 28;
- + status = STATUS_SUCCESS;
- + }
- + break;
- default:
- break;
- }
hack to get $ powershell -Command 'Mount-DiskImage -ImagePath ... # working
Posted by Anonymous on Fri 15th Aug 2025 16:27
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.