Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty mount drive #1

Closed
bjorg opened this issue Mar 10, 2020 · 2 comments
Closed

Empty mount drive #1

bjorg opened this issue Mar 10, 2020 · 2 comments

Comments

@bjorg
Copy link

bjorg commented Mar 10, 2020

I noticed that the host mount drive, while present, is empty. For example, the following command prints an empty folder.

Amazon2.exe run ls -al /mnt/c/

The same command works fine with the CentOS7 image:

CentOS7.exe run ls -al /mnt/c/

Is there a workaround to make this work on Amazon Linux as well?

@yosukes-dev
Copy link
Owner

Thanks for reporting.

You can solve it by installing util-linux-ng

-bash-4.2# yum install util-linux-ng
-bash-4.2# mount -t drvfs C: /mnt/c
-bash-4.2# ls /mnt/c/
ls: cannot access /mnt/c/DumpStack.log.tmp: Permission denied
ls: cannot access /mnt/c/hiberfil.sys: Permission denied
ls: cannot access /mnt/c/pagefile.sys: Permission denied
ls: cannot access /mnt/c/swapfile.sys: Permission denied
Config.Msi              Intel          Program Files (x86)        VMware Workstation
Dell                    Microsoft      Python27                   Windows
Documents and Settings  OneDriveTemp   Recovery                   $WinREAgent
DumpStack.log           Oracle         $Recycle.Bin               $WINRE_BACKUP_PARTITION.MARKER   DumpStack.log.tmp       pagefile.sys   swapfile.sys               WSL
Go                      PerfLogs       System Volume Information
hiberfil.sys            ProgramData    tools
inetpub                 Program Files  Users

Will be included in the next release.

@bjorg
Copy link
Author

bjorg commented Mar 10, 2020

w00t! I can confirm it works. Thank you!

yosukes-dev added a commit that referenced this issue Mar 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants