Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: ixbrian on August 22, 2010, 10:36:29 AM

Title: Bug in filetool.sh - specifying backup device does not work
Post by: ixbrian on August 22, 2010, 10:36:29 AM
There is a bug in filetool.sh.   If you specify a backup device, it is not used (see below).  This also affects backups that are initiated by the filetool FLTK GUI app since it calls filetool.sh. 

Code: [Select]
$ sudo filetool.sh backup hda1/backuptest
Backing up files to /mnt/hda1/tce mounted over device /dev/hda1 Done.

This can be corrected by changing the two "$3" references in the filetool.sh to "$2".   

Thanks,
Brian
Title: Re: Bug in filetool.sh - specifying backup device does not work
Post by: roberts on August 22, 2010, 10:55:18 AM
No bug. The third parameter is the device. The second parameter is for prompting and is typically set to "noprompt", e.g. in exittc. Since you were hacking in exittc I am surprised you didn't notice.
Title: Re: Bug in filetool.sh - specifying backup device does not work
Post by: ixbrian on August 22, 2010, 11:21:35 AM
No bug. The third parameter is the device. The second parameter is for prompting and is typically set to "noprompt", e.g. in exittc. Since you were hacking in exittc I am surprised you didn't notice.


I see now, sorry I missed that :) 

Thanks,
Brian