Skip to content

Commit

Permalink
add Storage::GetDetectedDiskPaths() to have a fast way to detect present
Browse files Browse the repository at this point in the history
disks without having to do complete scan of storage subsystem (bnc#810823)
  • Loading branch information
Thomas Fehr committed Apr 16, 2013
1 parent 547a268 commit ee9199d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions storage/src/modules/Storage.ycp
Expand Up @@ -6363,4 +6363,11 @@ global list GetCreatedSwaps()
return( ret );
}

global list<string> GetDetectedDiskPaths()
{
list<string> disks = LibStorage::getPresentDisks();
y2milestone( "disks:%1", disks );
return( disks );
}

}

0 comments on commit ee9199d

Please sign in to comment.