Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ 1 2 3 [4] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: error running fieltool.sh, Broken pipe error< Next Oldest | Next Newest >
sunburnt Offline





Group: Members
Posts: 30
Joined: Feb. 2005
Posted: Feb. 20 2005,01:16 QUOTE

I tried the shell script I suggested, ended up modifing it to:


#!/bin/bash
# Script for Backup of DSL settings to USB.

echo -n "${BLUE}Backing up files to:  /cdrom ${NORMAL}"
tar -C / -T /home/dsl/filetool.lst --exclude=Cache  -czf /cdrom/backup.tar.gz
echo "${BLUE}Done.${NORMAL}"
exit 0


IT WORKS! And shows NO ERRORS, but it needs some error testing code.
It makes the backup.tar.gz file, & on boot the background is restored.
The 2 lines starting with echo aren`t needed, & they don`t show if
  the file`s run in emelfm, but they probably would in XTerminal.

Being as /cdrom is the destination, I think ANY WRITEABLE DRIVE
  THAT DSL IS BOOTED FROM should work as the backup & restore drive.

Tried the CD on the other PC & it had a normal bootup.
Read your post in: USB version of DSL, I guess your saying
  that DSL embedded has the proper layout & drivers for the
  USB to boot off of?
I though it was only for running under Win.?
Back to top
Profile PM 
15 replies since Feb. 18 2005,00:04 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ 1 2 3 [4] >/
reply to topic new topic new poll
Quick Reply: error running fieltool.sh

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code