pastebin - collaborative debugging tool
rovema.kpaste.net RSS


Windows: Mount Linux home dir on Windows H:
Posted by Anonymous on Wed 24th May 2023 18:59
raw | new post
modification of post by Anonymous (view diff)

  1. #
  2. # Windows NFSv3 client anon-uid/gid setzen auf einem SingleUser-Windows-Laptop
  3. #
  4.  
  5. # Nutzer "rmainz" hat uid=1616 und gid=1616 auf Linux.
  6.  
  7. #
  8. # Aif dem Laptop in einer Adminstrator-PowerShell folgende Kommados ausführen:
  9. #
  10. Windows PowerShell
  11. Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
  12.  
  13. Lernen Sie das neue plattformübergreifende PowerShell kennen – https://aka.ms/pscore6
  14.  
  15. PS C:\WINDOWS\system32> New-ItemProperty HKLM:\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default -Name AnonymousUID -Value 1616 -PropertyType "DWord"
  16. PS C:\WINDOWS\system32> New-ItemProperty HKLM:\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default -Name AnonymousGID -Value 1616 -PropertyType "DWord"
  17.  
  18. #
  19. # Reboot Windows
  20. #
  21.  
  22. mount Linux homedir from server nfs://derfwpc5131/export/home/rmainz to Windows Volume letter H: (Home dir):
  23. $ /cygdrive/c/WINDOWS/system32/mount -o anon '\\derfwpc5131\export\home\rmainz\tmp' H:

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.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at