Skip to content

Instantly share code, notes, and snippets.

@l0b0
Created December 6, 2010 14:52
Show Gist options
  • Save l0b0/730395 to your computer and use it in GitHub Desktop.
Save l0b0/730395 to your computer and use it in GitHub Desktop.
Make df work in a chroot jail
grep -v '^\(none\|rootfs\)' /proc/mounts > /etc/mtab
@l0b0
Copy link
Author

l0b0 commented Dec 7, 2010

Turns out this is not necessarily correct, but I probably won't have the time to make anything more accurate. YMMV.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment