From 59f69f67a4992392aae3bb1bd78492981ade05ac Mon Sep 17 00:00:00 2001 From: Curtis Gedak Date: Tue, 28 Oct 2008 19:34:25 +0000 Subject: [PATCH] Removed warning when reading volume label from mounted reiser4 file system svn path=/trunk/; revision=941 --- ChangeLog | 5 +++++ src/reiser4.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d9f6cded..80e81f23 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-10-28 Curtis Gedak + + * src/reiser4.cc: Removed warning reading mounted reiser4 volume label + - Closes GParted bug #380546 + 2008-10-24 Curtis Gedak * src/Utils.cc: Increased robustness of get_lang() function diff --git a/src/reiser4.cc b/src/reiser4.cc index 1eac3096..8738f96a 100644 --- a/src/reiser4.cc +++ b/src/reiser4.cc @@ -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 '' as label.... ;)