Implement ext2 output module.
[febootstrap.git] / febootstrap-run.pod
index c5e713c..0e5d1f3 100644 (file)
@@ -37,6 +37,26 @@ contents still happen).
 
 =back
 
+=head1 EXAMPLES
+
+Remove a directory subtree safely:
+
+ febootstrap-run initramfs -- rm -r /etc
+
+(This requires that you have a compatible 'rm' command in the root).
+
+Another way to do complex operations from a script is to export a
+function:
+
+ #!/bin/bash
+
+ do_stuff ()
+ {
+     # complex operations inside the root
+ }
+ export -f do_stuff
+ febootstrap-run root -- bash -c do_stuff
+
 =head1 ENVIRONMENT VARIABLES
 
 Some L<fakechroot(1)> environment variables are applicable.  In
@@ -47,6 +67,7 @@ particular you may want to set:
 =head1 SEE ALSO
 
 L<febootstrap(8)>,
+L<febootstrap-install(8)>,
 L<fakeroot(1)>,
 L<fakechroot(1)>.
 
@@ -57,7 +78,7 @@ Richard W.M. Jones <rjones @ redhat . com>
 =head1 COPYRIGHT
 
 (C) Copyright 2009 Red Hat Inc.,
-L<http://et.redhat.com/~rjones/febootstrap>.
+L<http://people.redhat.com/~rjones/febootstrap>.
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by