implemented correct filesystemcheck using dosfsck.

* src/fat16.cc,
  src/fat32.cc: implemented correct filesystemcheck using dosfsck.
This commit is contained in:
Bart Hakvoort 2004-11-30 21:21:10 +00:00
parent f0eb17b8db
commit a54a5954f5
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-11-30 Bart Hakvoort <gparted@users.sf.net>
* src/fat16.cc,
src/fat32.cc: implemented correct filesystemcheck using dosfsck.
2004-11-30 Bart Hakvoort <gparted@users.sf.net>
* include/FileSystem.h,

View File

@ -112,7 +112,7 @@ bool fat16::Copy( const Glib::ustring & src_part_path, const Glib::ustring & des
bool fat16::Check_Repair( const Partition & partition )
{
return false ;
return ! Execute_Command( "dosfsck -aw " + partition .partition ) ;
}
int fat16::get_estimated_time( long MB_to_Consider )

View File

@ -89,7 +89,7 @@ bool fat32::Copy( const Glib::ustring & src_part_path, const Glib::ustring & des
bool fat32::Check_Repair( const Partition & partition )
{
return false ;
return ! Execute_Command( "dosfsck -aw " + partition .partition ) ;
}
int fat32::get_estimated_time( long MB_to_Consider )