mirror of
git://projects.qi-hardware.com/nanobits.git
synced 2024-11-23 20:07:10 +02:00
Building out Directory Tree
This commit is contained in:
parent
8d5695c4df
commit
705f1c36e3
24
ben-back/README
Normal file
24
ben-back/README
Normal file
@ -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
|
||||||
|
|
19
ben-media-burst/README
Normal file
19
ben-media-burst/README
Normal file
@ -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
|
||||||
|
|
11
ben-restore/README
Normal file
11
ben-restore/README
Normal file
@ -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)
|
||||||
|
|
31
ben-set-up/README
Normal file
31
ben-set-up/README
Normal file
@ -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
|
||||||
|
|
14
ben-storage/README
Normal file
14
ben-storage/README
Normal file
@ -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).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user