4 ms·
It would be nice if we could get Windows internally to use paths like / for the C drive and then use /mnt/d for the D drives, and use Bash as the default shell
by jasonjei 11y ago
It would be nice if we could get Windows internally to use paths like / for the C drive and then use /mnt/d for the D drives, and use Bash as the default shell instead of cmd.exe. I suspect it will take some time, but if they do so, it would make Windows a first-class POSIX development setup.
I can only imagine the difficulty of something like this, given all the legacy code and backward compatibility issues. Perhaps intelligently rollback to C:\ style paths when apps use backslashes. For Program Files, they might as well continue using /Program Files/ since it's not all too different from /opt.
- iokanuon 11y agoJust set up a few symlinks ln -s /mnt/c/Users /home ln -s '/mnt/c/Program Files' /opt ...
- wolfgke 11y ago> It would be nice if we could get Windows internally to use paths like / for the C drive and then use /mnt/d for the D drives Windows does internally - even in a network-transparent way: https://en.wikipedia.org/w/index.php?title=Path_(computing)&oldid=703365694#Uniform_Naming_Convention https://en.wikipedia.org/w/index.php?title=Path_(computing)&...
- Arnavion 11y agoYou can mount drives at empty directories in other drives, just like Unix. I have C: on an SSD and mount a HDD at C:\Stuff I remember one installer that didn't understand this (I think it was Steam) and concluded it wouldn't install to C:\Stuff\foo because there was insufficient disk space under C: - it was looking at the free space of C: (the SSD) instead of C:\Stuff . There's also plenty software out there that confuses volumes with drives and tries to enumerate the latter when it should be enumerating the former.
- daurnimator 11y ago> Windows a first-class POSIX development setup. http://midipix.org/ http://midipix.org/ Coming soon :)