Date:2011-09-03 21:28:15 (12 years 20 days ago)
Author:Warren Pattison
Commit:705f1c36e3ce4fd940a162a71a7e25bf62231596
Message:Building out Directory Tree

Files: ben-back/README (1 diff)
ben-media-burst/README (1 diff)
ben-restore/README (1 diff)
ben-set-up/README (1 diff)
ben-storage/README (1 diff)

Change Details

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

Archive Download the corresponding diff file

Branches:
master



interactive