3 ms·
So, max path length in Linux user space will be about 215 chars? (for it to be accessible from Windows user space) MAX_PATH in Windows = 260 Path to Linux fil
by SNvD7vEJ 11y ago
So, max path length in Linux user space will be about 215 chars? (for it to be accessible from Windows user space)
MAX_PATH in Windows = 260
Path to Linux file system root from Windows user space:
"C:\Users\<user>\AppData\Local\Lxss\rootfs\" - about 45 chars
Max depth reachable from Windows user space = 260 - 45 = 215
- to3m 11y agoThe NTFS limit is 32768 wchars, though the standard Win32 API doesn't really expose it very well... fingers crossed they used it!
- ape4 11y agoIts details like this that will make or break this.
- NateDad 11y agoI'm pretty sure I saw something in one of the articles that mentions they explicitly use the extended \\?\ form of paths, which gets around the 255 character path limit.
- NateDad 11y agoJust to verify, watched a video that explicitly said that it does get around the path limit (though if you then go look at those files in explorer, explorer "has problems" whatever that means).... but that's just because explorer still uses the legacy APIs that do have a path limit.
- wvenable 11y agoWell the very first thing I'd do is symlink/junction point that to something like C:\Users\<User>\Linux or even C:\Linux if I feel particularly single-user.
- batat 11y agoKinda bad news for node.js developers /home/user/dev/my-proj/node_modules/concurrently/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex