Skip to content

Instantly share code, notes, and snippets.

@cedced19
Last active August 29, 2015 14:27
Show Gist options
  • Save cedced19/89f503229fca527f3317 to your computer and use it in GitHub Desktop.
Save cedced19/89f503229fca527f3317 to your computer and use it in GitHub Desktop.
Link your Windows to your Linux

To mount:

  1. Create a linux folder at the root of your Windows' harddrive
  2. Share your folder in Windows
  3. Go to the Linux terminal and write this:
cd /www && mkdir win && mount -t cifs //192.168.0.47/linux /www/win -o username=cedced19@live.fr,password=mypassword,dir_mode=0777,file_mode=0777,uid=1000,gid=100

To unmount:

unmount -f /www/win
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment