/[smeserver]/cdrom.image/updates/fsset.py
ViewVC logotype

Diff of /cdrom.image/updates/fsset.py

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.3 by slords, Mon Aug 1 04:14:22 2005 UTC Revision 1.4 by slords, Mon Aug 1 05:02:21 2005 UTC
# Line 1507  MAILADDR root Line 1507  MAILADDR root
1507      def haveMigratedFilesystems(self):      def haveMigratedFilesystems(self):
1508          return self.migratedfs          return self.migratedfs
1509    
1510        def checkFilesystems (self, chroot='/'):
1511            for entry in self.entries:
1512                if entry.fsystem.isCheckable():
1513                    self.checkEntry(entry, chroot)
1514    
1515      def migrateFilesystems (self, chroot='/'):      def migrateFilesystems (self, chroot='/'):
1516          if self.migratedfs:          if self.migratedfs:
1517              return              return
# Line 1520  MAILADDR root Line 1525  MAILADDR root
1525              try:              try:
1526                  entry.origfsystem.migrateFileSystem(entry, self.messageWindow,                  entry.origfsystem.migrateFileSystem(entry, self.messageWindow,
1527                                                      chroot)                                                      chroot)
                 if entry.fsystem.isCheckable():  
                     self.checkEntry(entry, chroot)  
1528              except SystemError:              except SystemError:
1529                  if self.messageWindow:                  if self.messageWindow:
1530                      self.messageWindow(_("Error"),                      self.messageWindow(_("Error"),
# Line 2641  def fsckFilesystem(argList, messageFile, Line 2644  def fsckFilesystem(argList, messageFile,
2644      if status is None:      if status is None:
2645          return 0          return 0
2646            
2647      if os.WIFEXITED(status) and (os.WEXITSTATUS(status) == 0):      if os.WIFEXITED(status) and ((os.WEXITSTATUS(status) == 0) or (os.WEXITSTATUS(status) == 1)):
2648          return 0          return 0
2649    
2650      return 1      return 1


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed