wishstudio / flinux

Foreign LINUX - Run unmodified Linux applications inside Windows.
GNU General Public License v3.0
3.58k stars 244 forks source link

winfs: Fix case-sensitive filesystem handling #67

Closed Sh4rK closed 9 years ago

Sh4rK commented 9 years ago

This fixes case sensitive file system handling. winfs_symlink had to be changed to use NtCreateFile to support case sensitiveness.

Fixes #58.

Sh4rK commented 9 years ago

I also tried a few different ways to solve the chroot problem and also to be able to have /c etc., but nothing turned out to be right, so this just fixes the immediate problem.

wishstudio commented 9 years ago

Awesome! Does winfs_mkdir needs to be changed as well? It uses CreateDirectoryW() currently. What about winfs_link and winfs_rename? They use NtSetInformationFile(), does it work well too? Sorry I don't have a test environment for this right now, just some random thoughts.

Sh4rK commented 9 years ago

Yeah, mkdir and rmdir definitely has to be changed, I'll push soon (maybe tomorrow).

Sh4rK commented 9 years ago

Sorry for not doing the rest of this work, I will when I have enough time to figure everything out. I opened an issue to keep track of this.

wishstudio commented 9 years ago

Nevermind, I'm improving vfs and winfs so I merged this to avoid potential conflicts.

Sh4rK commented 9 years ago

Ah, okay then.