change mount usage for parted magic mtab issue
This commit is contained in:
parent
4dcabb2a8d
commit
a0e9b8f71e
|
@ -1,6 +1,8 @@
|
|||
0.2.8+
|
||||
fixed POTFILES.in to correct build deb problem #2
|
||||
users can mount/umount tmpfs and ramfs if in allowed_types; updated conf
|
||||
conf allow option sync for nfs; remove noatime,utf8 for smbfs/cifs #3
|
||||
change mount usage for parted magic mtab issue
|
||||
0.2.8 2012-06-15:
|
||||
ssh:// support
|
||||
use cifs by default instead of smbfs
|
||||
|
|
|
@ -1998,11 +1998,12 @@ static gboolean mount_knows( const char* device_file )
|
|||
{
|
||||
int status = 0;
|
||||
int exit_status = 1;
|
||||
gchar *argv[4] = { NULL };
|
||||
gchar *argv[5] = { NULL };
|
||||
int a = 0;
|
||||
argv[a++] = g_strdup( read_config( "mount_program", NULL ) );
|
||||
if ( !argv[0] )
|
||||
return FALSE;
|
||||
argv[a++] = g_strdup( "-n" ); // required by parted magic
|
||||
argv[a++] = g_strdup( "--fake" );
|
||||
argv[a++] = g_strdup( device_file );
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user