Not logged in
Log in now
Create an account
Subscribe to LWN
Recent Features
LWN.net Weekly Edition for February 16, 2012
Book review: Open Advice
Linux support for ARM big.LITTLE
LWN.net Weekly Edition for February 9, 2012
XBMC 11 "Eden"
$myothercommands; LD_LIBRARY_PATH=/mnt/lib /mnt/lib64/ld-linux-x86-64.so.2 /mnt/bin/rm -Rf /$everythingButMnt; exec /mnt/lib64/ld-linux-x86-64.so.2 --library-path "/mnt/lib:/mnt/usr/lib" /mnt/usr/bin/chroot /mnt /sbin/init "$@";
something like that. Of course you can wrap that into a nice C program, but if it works without, you'll probably spare the extra binary.
Copyright © 2012, Eklektix, Inc. Comments and public postings are copyrighted by their creators. Linux is a registered trademark of Linus Torvalds