Subversion Repositories freemyipod

Rev

Rev 787 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 787 Rev 791
Line 928... Line 928...
928
        data = self.emcore.ipodclassic_writebbt(f.read(), tempaddr)
928
        data = self.emcore.ipodclassic_writebbt(f.read(), tempaddr)
929
        f.close()
929
        f.close()
930
        self.logger.info(" done\n")
930
        self.logger.info(" done\n")
931
    
931
    
932
    @command
932
    @command
-
 
933
    def ipodclassic_disablebbt(self):
-
 
934
        """
-
 
935
            Target-specific function: ipodclassic
-
 
936
            Disables the hard disk bad block table, if present
-
 
937
        """
-
 
938
        self.logger.info("Disabling hard disk BBT...")
-
 
939
        data = self.emcore.ipodclassic_disablebbt()
-
 
940
        self.logger.info(" done\n")
-
 
941
    
-
 
942
    @command
-
 
943
    def ipodclassic_reloadbbt(self):
-
 
944
        """
-
 
945
            Target-specific function: ipodclassic
-
 
946
            Reloads the hard disk bad block table, if present
-
 
947
        """
-
 
948
        self.logger.info("Reloading hard disk BBT...")
-
 
949
        data = self.emcore.ipodclassic_reloadbbt()
-
 
950
        self.logger.info(" done\n")
-
 
951
    
-
 
952
    @command
933
    def getvolumeinfo(self, volume):
953
    def getvolumeinfo(self, volume):
934
        """
954
        """
935
            Gathers some information about a storage volume used
955
            Gathers some information about a storage volume used
936
            <volume>: volume id
956
            <volume>: volume id
937
        """
957
        """