diff --git a/ChangeLog b/ChangeLog index cb176115..4faf7f00 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-11-30 Bart Hakvoort + + * src/fat16.cc, + src/fat32.cc: implemented correct filesystemcheck using dosfsck. + 2004-11-30 Bart Hakvoort * include/FileSystem.h, diff --git a/src/fat16.cc b/src/fat16.cc index 90a67af0..7d4ea779 100644 --- a/src/fat16.cc +++ b/src/fat16.cc @@ -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 ) diff --git a/src/fat32.cc b/src/fat32.cc index 67a7a2ac..d4fc087a 100644 --- a/src/fat32.cc +++ b/src/fat32.cc @@ -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 )