I have one real (c:) and three virtual (d:, e:, f:) partitions on my Windows 10 box
The virtual partitions are created at login by Windows tasks using the 'subst' command. With an empty /etc/fstab, at first this all appears to work fine: > mount C:/C64/bin on /usr/bin type ntfs (binary,auto) C:/C64/lib on /usr/lib type ntfs (binary,auto) C:/C64 on / type ntfs (binary,auto) 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) F: on /cygdrive/f type ntfs (binary,posix=0,user,noumount,auto) > mount -m none /cygdrive cygdrive binary,posix=0,user 0 0 > ls /cygdrive c/ d/ e/ f/ > ls /cygdrive/f | wc -l 31 But if I come in to this machine via ssh (public key or password), the virtual partitions are lost: > mount C:/C64/bin on /usr/bin type ntfs (binary,auto) C:/C64/lib on /usr/lib type ntfs (binary,auto) C:/C64 on / type ntfs (binary,auto) C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto) > ls /cygdrive c/ The problem seems to arise because the subst commands aren't being run: > cmd /c subst [nothing] although they are Triggered by "At log on of [me]". Checking the Task Scheduler indeed shows them run at my original Windows login, but not when I ssh in... It appears that ssh login is not a Windows login -- what am I missing? ht -- Henry S. Thompson, School of Informatics, University of Edinburgh 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: h...@inf.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail from me _always_ has a .sig like this -- mail without it is forged spam] The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple