Cygwin knows a bind option in fstab, which makes it quite easy to have the right HOME directory in Cygwin. The following lines show how to set /home and /usr/local.
d:/Users /home none bind 0 0 e:/Cygwin-local /usr/local none bind 0 0
After restarting the Cygwin terminal mount shows the following output:
C:/cygwin64/bin on /usr/bin type ntfs (binary,auto) C:/cygwin64/lib on /usr/lib type ntfs (binary,auto) E:/Cygwin-local on /usr/local type ntfs (text,user,bind) C:/cygwin64 on / type ntfs (binary,auto) D:/Users on /home type ntfs (text,user,bind) C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto) D: on /cygdrive/d type ntfs (binary,posix=0,user,noumount,auto) E: on /cygdrive/e type ntfs (binary,posix=0,user,noumount,auto)
Volumen C is a SSD, volume D is a RAID-1 and volume E is a simple hard disk.
Keine Kommentare:
Kommentar veröffentlichen