Mount JFFS2 Image
Saturday, October 25, 2008
Example of how to mount a JFFS2 image using mtdblock.
Never mistake knowledge for wisdom. One helps you make a living; the other helps you make a life.
- Sandra Carey
rsync Tip to Mirror a Filesystem
Saturday, July 17, 2004 by digitalpeer
This script will copy the home directory on the local computer to a remote directory /copy on otherhostname. Please note that an ending slash is included on the local directory. This means it will only copy stuff in it and not include the complete path. Kind of an obscure feature of rsync.
#/bin/sh
LOCALDIR=/home/;
REMOTEDIR=otherhostname:/copy;
# archive mode, use ssh, delete any files there that we never copy over,
# use compression, and preserve
rsync -paz -e ssh --delete $LOCALDIR $REMOTEDIR