diff options
author | Dave Reisner <d@falconindy.com> | 2010-01-08 21:38:49 -0500 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2010-01-08 21:38:49 -0500 |
commit | 72b00e3b6cbdb3aa5027e83bdfd1ec6b7337ea3a (patch) | |
tree | 012df0fa861a154d33bc0fd63f17fd38bd59686e | |
parent | c1955bc15bbfdc43b12790377bffd266f0d6d4b4 (diff) | |
download | squashfu-72b00e3b6cbdb3aa5027e83bdfd1ec6b7337ea3a.tar.gz |
Add skelton for -Z option to restore sanity
-rwxr-xr-x | squashfu | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -207,6 +207,12 @@ OPERATIONS alternate mount point can be specified for the resulting rolled back union. If unspecified, the union will be mounted at $BKUP_ROOT/rw. + -Z + Use this option to restore sanity, AKA check for the seed or union being + mounted and unmount them. Squashfu will ensure that everything is unmounted + before a backup, but you might use this after restoring a file after a + rollback. + OPTIONS -c, --config Specify an alternate location to a config file that will override defaults @@ -286,6 +292,7 @@ while [[ $# -gt 0 ]]; do "-B") shift; dispatch_backup $* ;; "-Q") shift; dispatch_query $1 ;; "-R") shift; dispatch_rollback $* ;; + "-Z") unmount_all ;; *) usage ;; esac shift |