Remove outdated comment fragment from activate_mount_partition()
Outdated by commit:
6e97a63f49
Always use blkid file system detection before libparted (#757781)
This commit is contained in:
parent
ab923121de
commit
29be7547cd
|
@ -2417,8 +2417,6 @@ void Win_GParted::activate_mount_partition( unsigned int index )
|
||||||
selected_partition_ptr->get_mountpoints()[index] ) );
|
selected_partition_ptr->get_mountpoints()[index] ) );
|
||||||
|
|
||||||
// First try mounting letting mount (libblkid) determine the file system type.
|
// First try mounting letting mount (libblkid) determine the file system type.
|
||||||
// Do this because GParted uses libparted first and blkid second and when there
|
|
||||||
// are multiple signatures GParted may report a different result to blkid alone.
|
|
||||||
cmd = "mount -v " + selected_partition_ptr->get_path() +
|
cmd = "mount -v " + selected_partition_ptr->get_path() +
|
||||||
" \"" + selected_partition_ptr->get_mountpoints()[index] + "\"";
|
" \"" + selected_partition_ptr->get_mountpoints()[index] + "\"";
|
||||||
success = ! Utils::execute_command( cmd, output, error );
|
success = ! Utils::execute_command( cmd, output, error );
|
||||||
|
|
Loading…
Reference in New Issue