News for hackers. Stuff that matters.
Re:Ubuntu on Windows by SNvD7vEJ on Wednesday March 30, 2016 @03:14PM (#11392092)
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

Re:Ubuntu on Windows by to3m on Wednesday March 30, 2016 @03:26PM (#11392204)
The NTFS limit is 32768 wchars, though the standard Win32 API doesn't really expose it very well... fingers crossed they used it!
Re:Ubuntu on Windows by NateDad on Wednesday March 30, 2016 @04:20PM (#11392648)
I'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.
Re:Ubuntu on Windows by NateDad on Thursday March 31, 2016 @10:49AM (#11397576)
Just 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.
Re:Ubuntu on Windows by ape4 on Wednesday March 30, 2016 @03:57PM (#11392441)
Its details like this that will make or break this.
Re:Ubuntu on Windows by batat on Thursday March 31, 2016 @04:04AM (#11395665)
Kinda 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
Re:Ubuntu on Windows by wvenable on Wednesday March 30, 2016 @09:40PM (#11394446)
Well 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.