Swapping HDD's

I would add '-y' to the extra options to fix-disk or you'll be asked to type yes 164 times.
What's happened here?:
Code:
Please select option: fixdisk                                                                   
Any additional options (or press return for none): -y                                           
Are you sure you wish to run the hard disk checker (-y)? [Y/N] y                                 
Running /bin/fix-disk                                                                           
Custom firmware version 3.10                                                                     
                                                                                                
Unknown option, -y                                                                               
fix-disk options:                                                                               
    Partitions to check - without any of these options all three partitions                     
    will be checked:                                                                             
        -1          Check partition 1                                                           
        -2          Check partition 2                                                           
        -3          Check partition 3                                                           
    Other options:                                                                               
        -d          Additional diagnostic output                                                 
        -B          Skip block search                                                           
        -F          Skip file system checks                                                     
        -P          Skip pending sector error tests                                             
        -l          Perform a long SMART disk test                                               
        -n          No polling during SMART tests                                               
        -x <opts>   Additional options for filesystem check (e2fsck)                             
                    (Must be last option)                                                       
                                                                                                
Press return to continue:                                                                       
                                                                                                
      /---------------------------------------------\                                           
      |  M A I N T E N A N C E   M O D E   M E N U  |                                           
      \---------------------------------------------/                                           
                                                                                                
  [ Humax HDR-Fox T2 (HDRFOX1) 1.02.20/3.10 ]                                                   
                                                                                                
 fixdisk - Check and repair hard disk.                                                           
   short - Run short hard-disk self test.                                                       
    long - Run long hard-disk self test.                                                         
   check - Check self-test progress.                                                             
    gptf - Re-format disk using GPT scheme.                                                     
     epg - Clear persistent EPG data.                                                           
    dlna - Reset DLNA server database.                                                           
       x - Leave maintenance mode (Humax will restart).                                         
    diag - Run a diagnostic.                                                                     
     cli - System command line (advanced users).                                                 
                                                                                                
Please select option:
 
What's happened here?
I'm guessing that the timestamp on the copy of fix-disk in /var/lib/humaxtv_backup/mod is newer than that in the firmware. It runs the one with the latest timestamp.

Code:
ls -l /var/lib/humaxtv_backup/mod/fix-disk /bin/fix-disk

Removing the fix-disk package would be a way to solve this but it would be interesting to understand what's happened.
 
This is HDR1 - I was testing what would happen with fixdisk in a webshell session if I closed the session. What data do you need?
 
Code:
HDRFOX1# ls -l /var/lib/humaxtv_backup/mod/fix-disk /bin/fix-disk                       
ls: /var/lib/humaxtv_backup/mod/fix-disk: No such file or directory                     
-rwxr-xr-x    1 root     root       18.7K Mar  2  2016 /bin/fix-disk*                   
HDRFOX1#
 
Yep, that's it, -y wasn't added until build 2719

Code:
r2719 | af | 2016-03-07 19:12:45 +0000 (Mon, 07 Mar 2016) | 1 line

add -y option to fix-disk
 
Back
Top