Change the location of /tmp in a Windows install of Git Bash
Change the location of /tmp in a Windows install of Git Bash
In /etc/fstab
, comment out any existing lines defining /tmp
, and add this one:
C:/myTemp /tmp ntfs auto
The ntfs
part doesnt matter because the system figures out the filesystem on its own. The auto
part tells the system to mount it automatically when you start your shell. There are other options you might want to specify, like case sensitivity. For more information about that file, see:
https://cygwin.com/cygwin-ug-net/using.html#mount-table
After editing that file, youll need to open a new shell.