gparted r941 - in trunk: . src



Author: gedakc
Date: Tue Oct 28 19:34:25 2008
New Revision: 941
URL: http://svn.gnome.org/viewvc/gparted?rev=941&view=rev

Log:
Removed warning when reading volume label from mounted reiser4 file system

Modified:
   trunk/ChangeLog
   trunk/src/reiser4.cc

Modified: trunk/src/reiser4.cc
==============================================================================
--- trunk/src/reiser4.cc	(original)
+++ trunk/src/reiser4.cc	Tue Oct 28 19:34:25 2008
@@ -82,7 +82,7 @@
 
 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.... ;)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]