added correct check for availability of 'dosfsck' bumped to 0.0.7 YAY! ;)

* src/fat16.cc,
  src/fat32.cc: added correct check for availability of 'dosfsck'
* configure.in: bumped to 0.0.7  YAY! ;)
This commit is contained in:
Bart Hakvoort 2004-12-04 16:56:08 +00:00
parent f18885aa04
commit 3401c0be0d
4 changed files with 18 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2004-12-03 Bart Hakvoort <gparted@users.sf.net>
* src/fat16.cc,
src/fat32.cc: added correct check for availability of 'dosfsck'
* configure.in: bumped to 0.0.7 YAY! ;)
2004-12-03 Bart Hakvoort <gparted@users.sf.net> 2004-12-03 Bart Hakvoort <gparted@users.sf.net>
* src/GParted_Core.cc: When ( ! deep_scan ) now only one device is scanned (first found one). Shaves off a couple of millisec from startuptime |-) * src/GParted_Core.cc: When ( ! deep_scan ) now only one device is scanned (first found one). Shaves off a couple of millisec from startuptime |-)

View File

@ -1,4 +1,4 @@
AC_INIT(gparted, 0.0.6) AC_INIT(gparted, 0.0.7)
AC_CONFIG_SRCDIR(src/main.cc) AC_CONFIG_SRCDIR(src/main.cc)
AM_INIT_AUTOMAKE AM_INIT_AUTOMAKE

View File

@ -28,9 +28,14 @@ FS fat16::get_filesystem_support( )
fs .filesystem = "fat16" ; fs .filesystem = "fat16" ;
fs .read = true ; //provided by libparted fs .read = true ; //provided by libparted
fs .create = true ; fs .create = true ;
if ( ! system( "which dosfsck 1>/dev/null 2>/dev/null" ) )
fs .check = true ;
//resizing of start and endpoint are provided by libparted
fs .resize = true ; fs .resize = true ;
fs .move = true ; fs .move = true ;
if ( ! system( "which dd 1>/dev/null 2>/dev/null" ) ) if ( ! system( "which dd 1>/dev/null 2>/dev/null" ) )
fs .copy = true ; fs .copy = true ;

View File

@ -31,11 +31,14 @@ FS fat32::get_filesystem_support( )
//find out if we can create fat32 filesystems //find out if we can create fat32 filesystems
if ( ! system( "which mkdosfs 1>/dev/null 2>/dev/null" ) ) if ( ! system( "which mkdosfs 1>/dev/null 2>/dev/null" ) )
fs .create = true ; fs .create = true ;
if ( ! system( "which dosfsck 1>/dev/null 2>/dev/null" ) )
fs .check = true ;
//resing of start and endpoint are provided by libparted //resizing of start and endpoint are provided by libparted
fs .resize = true ; fs .resize = true ;
fs .move = true ; fs .move = true ;
if ( ! system( "which dd 1>/dev/null 2>/dev/null" ) ) if ( ! system( "which dd 1>/dev/null 2>/dev/null" ) )
fs .copy = true ; fs .copy = true ;