wishstudio/flinux

Windows Directories Not Accessible

mramshad opened this issue · 3 comments

Hi,

This is the first time I am starting to contribute to opensource development and When I was trying to use flinux. I downloaded the development versions of the software from https://ci.appveyor.com/project/wishstudio/flinux/build/artifacts then I extracted it and ran the run_bash.cmd. Up to this point there was no issue, but when I tried to small binary file which was produced in linux(Ubuntu) I couldn't access the windows directories to give my binary file as an argument to the flinux command.

Can anybody tell a way to access the windows directories using flinux?

Thanks

@mramshad, you can create symbolic link to a directory within flinux directory tree. For example, assuming flinux is installed to c:\flinux:

mklink /d c:\flinux\archlinux\mnt\c c:\
cd c:\flinux
run_bash.cmd

When necessity of the directory link is gone, remove it:

rmdir c:\flinux\archlinux\mnt\c

Be careful, because this is not the mount point, it's just a link and nothing else. You are not able to restrict privileges on this directory, and being under flinux you could have all rights over /mnt/c contents.

Details here: http://ss64.com/nt/mklink.html

If you use the latest development snapshot, you should have no problem accessing native Windows directories in pseudo directories "/c/", "/d/", etc.

cd /c/Users/
ls
ls: cannot open directory .: no such files or directory