aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-01-11 22:24:21 -0500
committerDave Reisner <d@falconindy.com>2010-01-11 22:24:21 -0500
commit20fe278cecc776af75ff536ecabde7f70d11f828 (patch)
treeb829ae3ea6bcb94ce98464ce69541c4b93569efe
parent9524f10cfa414052f4cdb13460e9e0f29df2309f (diff)
downloadsquashfu-20fe278cecc776af75ff536ecabde7f70d11f828.tar.gz
Create skeletons for action handlers
-rw-r--r--squashfu24
1 files changed, 24 insertions, 0 deletions
diff --git a/squashfu b/squashfu
index ccf2cfd..731ec81 100644
--- a/squashfu
+++ b/squashfu
@@ -190,4 +190,28 @@ create_new_incremental () {
return $?
}
+action_backup () {
+# Args:
+#
+ debug "IOU: one backup"; exit 0
+
+}
+
+action_rollback () {
+ debug "IOU: one rollback";exit 0
+ # Validate input
+ # call mount_squash
+ # call mount_union_with_bins
+
+
+}
+
+action_report () {
+ debug "IOU: one status report"; exit 0
+ # Enumerate bins, sort by order, provide size and convert timestamp to human readable
+ # use $(date --date="1970-01-01 $TIMESTAMP sec GMT")
+
+}
+
+