From dfcc043cf88e44fcec0c224ed424b4ce853e2001 Mon Sep 17 00:00:00 2001 From: Freemor Date: Sat, 3 Sep 2011 16:28:15 -0300 Subject: [PATCH] Building out Directory Tree --- ben-back/README | 24 ++++++++++++++++++++++++ ben-media-burst/README | 19 +++++++++++++++++++ ben-restore/README | 11 +++++++++++ ben-set-up/README | 31 +++++++++++++++++++++++++++++++ ben-storage/README | 14 ++++++++++++++ 5 files changed, 99 insertions(+) create mode 100644 ben-back/README create mode 100644 ben-media-burst/README create mode 100644 ben-restore/README create mode 100644 ben-set-up/README create mode 100644 ben-storage/README diff --git a/ben-back/README b/ben-back/README new file mode 100644 index 0000000..4e55779 --- /dev/null +++ b/ben-back/README @@ -0,0 +1,24 @@ +ben-back will be a script to back up both user data and settings +on a Ben NanoNote. + +Goals: +back-up /root directory - this will save most programs settings +back-up /data or other internal data partition +back-up user specified directories + +save system information related to: +timezone +automounts +internal data partition +user specified files (advanced option) + +Save backup to: +uSD card +ssh location (scp,sftp,sshfs) +ftp location +rsync? + +notes: +symlinks should be saved as links not dereferenced +must only use programs on stock NanoNote + diff --git a/ben-media-burst/README b/ben-media-burst/README new file mode 100644 index 0000000..377aeb2 --- /dev/null +++ b/ben-media-burst/README @@ -0,0 +1,19 @@ +ben-media-busrt will consist of several scripts that live on the +Computer to which the NanoNote is regularly docked. + +one script will act as a cron job monitoring defined folders +and automatically converting media dropped into them into +NanoNote friendly formats. + +script two will be launched manually and will sync the defined +folders over to the NanoNote. A config file will provide +local -> NanoNote mappings + +notes: +Use of rsync would be good to reduce bandwidth. +Have option to remove files frrom nanonote that are +not in PCs folders. +look into auto launching with udev rule + - would be cool if we could pop up a proceed yes/no + alert on the nanonote before begining the transfer + diff --git a/ben-restore/README b/ben-restore/README new file mode 100644 index 0000000..2954a6d --- /dev/null +++ b/ben-restore/README @@ -0,0 +1,11 @@ +ben-restore will be a script to restore files/settings saved with ben-back + +goals +return all user data to it's proper place +restore timezone if saved +restore internal data partition if config info saved +restore use data to internal data partition +restore custom files/settings specified by user (advanced option) +restore from ftp, ssh (scp,sftp,sshfs), uSD +show progress (detailed or meter) + diff --git a/ben-set-up/README b/ben-set-up/README new file mode 100644 index 0000000..d3ea884 --- /dev/null +++ b/ben-set-up/README @@ -0,0 +1,31 @@ +ben-set-up will be the.. + "one script to rule them all and in the nanonote bind them.." +So, Tolkien referencees aside, this will be the main "Help me +set-up my NanoNote" script. + +It will do several things: +1. run at boot and check a flag file + if first boot see if user want to restore from backed-up settings + if not does the user want a default data partition created + does the user want to mount a uSD card at boot + Set timezone, set flag file to continue time set up, + reboot, read flag file run ben-time-set + to finish setting time (clearly we need a skip the timezone switch) + if yes to restore, preform necessary tasks to get to restore data + i.e. mount uSD, ssh/ftp/etc to host + grab the settings for timezone,and data partitions, + automounts. + set those up. Change flag file to continue restore + reboot. read flag file. continue restore. + if all goes well set flag file to all done + +2. if run manually don't check flag file (unless instructed to (flag)) + instead provide a menu with options to: + set timezone + set time + set-up data partition + set up auto mounts + back-up system + restore from backup + etc + diff --git a/ben-storage/README b/ben-storage/README new file mode 100644 index 0000000..33de8ab --- /dev/null +++ b/ben-storage/README @@ -0,0 +1,14 @@ +ben-storage will give users a menu guided way to set up the internal storage partition. + +Goals: +by default will only ask for the mount point (with /data suggested +as the default) and will then determine available space and create +a partition using all available nand. + +will have commandline options and advacned menus to: +restore the partition from a saved config (mount point,siz,etc) +manually configure the partition to desired: + start, end, size, type, mount point +Save the current configuration of the storage partition/s to a config +file for later use (say, after a reflash). +