8/1/2023 0 Comments Map box drive in windowsI just ran across this issue recently where I have a Mac host running a vmware fusion with windows 10 installed as a guest OS. Type net.exe help use for more information on how to use this command. The net use command can be invoked from inside WSL (using net.exe use) via interop. If you need to use different credentials to connect to the server, specify them in Windows by navigating to the share in File Explorer, using the Windows Credential Manager, or the net use command. WSL does not have any way to specify which credentials to use to connect to a network share. If you don't surround the UNC path with single quotes, you need to escape the backslashes by doubling them (e.g. Note the single quotes around the UNC path these are necessary to prevent the need to escape the backslashes. $ sudo mount -t drvfs '\\server\share' /mnt/share However, it's also possible to mount them directly using a UNC path: $ sudo mkdir /mnt/share When you wish to mount a network location, you can of course create a mapped network drive in Windows and mount that as indicated above. When you wish to unmount the drive, for example so you can safely remove it, run the following command: $ sudo umount /mnt/d Now, you will be able to access the files of your D: drive under /mnt/d. For example, to mount a removable drive D: as /mnt/d directory, run the following commands: $ sudo mkdir /mnt/d In order to mount a Windows drive using DrvFs, you can use the regular Linux mount command. From the link bleater posted Mounting DrvFs
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |