WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Bug in filetool.sh - specifying backup device does not work  (Read 2344 times)

Offline ixbrian

  • Administrator
  • Sr. Member
  • *****
  • Posts: 436
Bug in filetool.sh - specifying backup device does not work
« on: August 22, 2010, 07: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

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Bug in filetool.sh - specifying backup device does not work
« Reply #1 on: August 22, 2010, 07: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.
10+ Years Contributing to Linux Open Source Projects.

Offline ixbrian

  • Administrator
  • Sr. Member
  • *****
  • Posts: 436
Re: Bug in filetool.sh - specifying backup device does not work
« Reply #2 on: August 22, 2010, 08: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