Skip to content

Instantly share code, notes, and snippets.

@arielzn
Created April 13, 2016 11:00
Show Gist options
  • Save arielzn/feb03d4686980dbc6808b09c35428dbf to your computer and use it in GitHub Desktop.
Save arielzn/feb03d4686980dbc6808b09c35428dbf to your computer and use it in GitHub Desktop.
Useful commands
-------------------------------------------------------------------------
Map id:gid for ext4 HDD mount
Example
current user uid:gid -> 1000:1000
external HDD uid:gid -> 1001:1001
# bindfs --map=1001/1000:@1001/@1000 /external/HDD/mount/ /mount/point/
-------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment