3 ms·
Not needed anymore. Latest version of Windows 11 finally allows mounting SMB on arbitrary port! NET USE F: \\localhost\foo /TCPPORT:1234 It also supports QU
by marwis 3y ago
Not needed anymore. Latest version of Windows 11 finally allows mounting SMB on arbitrary port!
NET USE F: \\localhost\foo /TCPPORT:1234
It also supports QUIC and RDMA. I wonder if it would be possible to achieve zero copy with RDMA.
- Dwedit 3y agoInteresting, how does the path canonicalize if you do that? A traditional UNC path becomes "\??\Device\MUP\ComputerName\ShareName" as an NT Object Namespace path (Or "\\?\GLOBALROOT\Device\MUP\ComputerName\ShareName" as a file path) If you change the port number or protocol, is that encoded somewhere in the native path? Fun thing to do, you can use "7-Zip File Manager" to explore unusual styles of file paths. A path like "\\?\GLOBALROOT\Device\MUP\ComputerName\ShareName\" will work fine in 7-zip file manager, even though Windows Explorer (and File Dialogs) will reject such a path.
- marwis 3y agoIt probably doesn't change at all. Blog mentions a way to assign ports to hostnames so I think ports are supplied out of band to SMB client and not included in UNC.
- atesti 3y agoAny more info on this? I found the announcement, but not how it works internally: https://techcommunity.microsoft.com/t5/storage-at-microsoft/smb-alternative-ports-now-supported-in-windows-insiders/ba-p/3974509 https://techcommunity.microsoft.com/t5/storage-at-microsoft/...
- yrro 3y agoHow do you do this without needing to map a drive like it's 1990?
- marwis 3y agoMS blogs say that a way to associate ports to hosts is coming. Unfortunately it doesn't look like they are planning to support ports directly in UNC paths.