Ensure /dev file system device entries created before adding device
This commit is contained in:
parent
301bd77312
commit
e7352a5000
|
@ -211,6 +211,7 @@ void GParted_Core::set_devices( std::vector<Device> & devices )
|
|||
for ( unsigned int k=0; k < dmraid_devices .size(); k++ ) {
|
||||
set_thread_status_message( String::ucompose ( _("Scanning %1"), dmraid_devices[k] ) ) ;
|
||||
dmraid .create_dev_map_entries( dmraid_devices[k] ) ;
|
||||
settle_device( 1 ) ;
|
||||
ped_device_get( dmraid_devices[k] .c_str() ) ;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue