Removed warning when reading volume label from mounted reiser4 file system
svn path=/trunk/; revision=941
This commit is contained in:
parent
e9c44ad13e
commit
59f69f67a4
|
@ -1,3 +1,8 @@
|
|||
2008-10-28 Curtis Gedak <gedakc@gmail.com>
|
||||
|
||||
* src/reiser4.cc: Removed warning reading mounted reiser4 volume label
|
||||
- Closes GParted bug #380546
|
||||
|
||||
2008-10-24 Curtis Gedak <gedakc@gmail.com>
|
||||
|
||||
* src/Utils.cc: Increased robustness of get_lang() function
|
||||
|
|
|
@ -82,7 +82,7 @@ void reiser4::set_used_sectors( Partition & partition )
|
|||
|
||||
void reiser4::get_label( Partition & partition )
|
||||
{
|
||||
if ( ! Utils::execute_command( "debugfs.reiser4 " + partition .get_path(), output, error, true ) )
|
||||
if ( ! Utils::execute_command( "debugfs.reiser4 -f " + partition .get_path(), output, error, true ) )
|
||||
{
|
||||
Glib::ustring label = Utils::regexp_label( output, "^label:[\t ]*([^!]*)$" ) ;
|
||||
//FIXME: find a better way to see if label is empty.. imagine someone uses '<none>' as label.... ;)
|
||||
|
|
Loading…
Reference in New Issue