|
|
2010-05-13
, 18:14
|
|
Posts: 1,101 |
Thanked: 1,184 times |
Joined on Aug 2008
@ Spain
|
#22
|
#!/bin/sh mount --bind / /floppy mkfs.jffs2 -r /floppy -o /media/mmc1/rootfs.jffs2 -e 128 -l -n umount /floppy
flasher-3.0 -f -r rootfs.jffs2
flash_eraseall -j /dev/mtd4 nandwrite -a -p /dev/mtd4 /media/mmc1/rootfs.jffs2
mkdir /media/mmc1/firmware 0xFFFF.static -e /media/mmc1/firmware
0xFFFF.static -R -p rootfs.jffs2
|
|
2010-07-09
, 20:23
|
|
Posts: 99 |
Thanked: 325 times |
Joined on Jul 2010
|
#23
|
# Please remove the -n switch after testing the script. With -n, no copying is actually done
rsync -avzn --delete \
--exclude /proc/'*' \
--exclude /sys/'*' \
--exclude /syspart/'*' \
--exclude /dev/'*' \
--exclude /tmp/'*' \
--exclude /var/tmp/'*' \
root@192.168.1.90:/ n900_backup/
if [ `whoami` != "root" ]; then echo "Please run as root to preserve file ownership." exit 1 fi
|
|
2010-08-23
, 04:55
|
|
Posts: 19 |
Thanked: 11 times |
Joined on Jul 2010
|
#24
|
|
|
2010-08-23
, 07:06
|
|
|
Posts: 365 |
Thanked: 98 times |
Joined on Nov 2009
|
#25
|
I never bothered to check if the tar files could be successfully untarred, until I had an unfortunate incident where my N800 was stolen
Therefore, I'd like to make occasional copies of what's on the N800, save them to an SD card, and then copy the contents of the card to my Linux box for safekeeping.
Would your scripts accomplish this for me?
Thanks in advance!