156
Glib::ustring FS_Info::get_path_by_uuid( const Glib::ustring & uuid )
158
//Retrieve the path given the uuid
159
Glib::ustring regexp = "^([^:]*):.*UUID=\"" + uuid + "\".*$" ;
160
Glib::ustring path = Utils::regexp_label( fs_info_cache, regexp ) ;
165
Glib::ustring FS_Info::get_path_by_label( const Glib::ustring & label )
167
//Retrieve the path given the label
168
Glib::ustring regexp = "^([^:]*):.*LABEL=\"" + label + "\".*$" ;
169
Glib::ustring path = Utils::regexp_label( fs_info_cache, regexp ) ;