virtual box shares are visible in the window, but not in an ssh session
Andrey Repin
anrdaemon@yandex.ru
Mon Aug 17 21:15:44 GMT 2020
Greetings, marty leisner!
[ Please do not top-post in this list. ]
> Its a virtual box shared folder -- I'm mapping "src" to /usr/local/src on
> the host system.
> $ df
> Filesystem 1K-blocks Used Available Use% Mounted on
> C:/cygwin64 51856440 45548104 6308336 88% /
> D: 48666 48666 0 100% /cygdrive/d
> E: 302054400 237185024 64869376 79% /cygdrive/e
> $ mount
> C:/cygwin64/bin on /usr/bin type ntfs (binary,auto)
> C:/cygwin64/lib on /usr/lib type ntfs (binary,auto)
> C:/cygwin64 on / type ntfs (binary,auto)
> C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
> D: on /cygdrive/d type iso9660 (binary,posix=0,user,noumount,auto)
> E: on /cygdrive/e type vboxsharedfolderfs
> (binary,posix=0,user,noumount,auto)
Don't map shares to disk letters.
It's that simple.
> $ id
> uid=197609(marty) gid=197609(marty) groups=197609(marty),401408(Medium
> Mandatory Level),545(Users),559(Performance Log
> Users),4(INTERACTIVE),66049(CONSOLE LOGON),11(Authenticated Users),15(This
> Organization),68578(MicrosoftAccount+martyleisner@yahoo.com),113(Local
> account),4095(CurrentSession),66048(LOCAL),262180(Cloud Account
> Authentication)
> This is in the remote ssh:
> $ df
> Filesystem 1K-blocks Used Available Use% Mounted on
> C:/cygwin64 51856440 45549844 6306596 88% /
> D: 48666 48666 0 100% /cygdrive/d
Indeed, logging in via SSH, you get a separate session, in which your drives
aren't mapped.
See above, drop this poor habit of mapping them to letters.
Use UNC paths directly or symlink them at convenient locations.
--
With best regards,
Andrey Repin
Tuesday, August 18, 2020 0:13:28
Sorry for my terrible english...
More information about the Cygwin
mailing list