Hello community,
here is the log from the commit of package yast2-storage
checked in at Fri Sep 12 17:31:26 CEST 2008.
--------
--- yast2-storage/yast2-storage.changes 2008-09-09 10:59:28.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-storage/yast2-storage.changes 2008-09-12 17:06:54.393410000 +0200
@@ -1,0 +2,5 @@
+Fri Sep 12 10:47:23 CEST 2008 - aschnell@suse.de
+
+- added Rescan button in unused devices view
+
+-------------------------------------------------------------------
Old:
----
yast2-storage-2.17.28.tar.bz2
New:
----
yast2-storage-2.17.29.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-storage.spec ++++++
--- /var/tmp/diff_new_pack.j27793/_old 2008-09-12 17:31:09.000000000 +0200
+++ /var/tmp/diff_new_pack.j27793/_new 2008-09-12 17:31:09.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-storage (Version 2.17.28)
+# spec file for package yast2-storage (Version 2.17.29)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-storage
-Version: 2.17.28
+Version: 2.17.29
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-storage-2.17.28.tar.bz2
+Source0: yast2-storage-2.17.29.tar.bz2
Prefix: /usr
BuildRequires: blocxx-devel boost-devel docbook-xsl-stylesheets doxygen gcc-c++ libxcrypt-devel libxslt openssl-devel perl-XML-Writer sablot sgml-skel swig update-desktop-files yast2 yast2-core-devel yast2-devtools yast2-perl-bindings yast2-testsuite
Requires: parted yast2-storage-lib = %version yast2-perl-bindings mdadm lvm2 dmraid multipath-tools kpartx cryptsetup
@@ -58,7 +58,7 @@
Arvin Schnell
%prep
-%setup -n yast2-storage-2.17.28
+%setup -n yast2-storage-2.17.29
%build
%{prefix}/bin/y2tool y2autoconf
@@ -182,6 +182,8 @@
%doc %{prefix}/share/doc/packages/yast2-storage/libstorage
%doc %{prefix}/share/doc/packages/yast2-storage/config.xml.description
%changelog
+* Fri Sep 12 2008 aschnell@suse.de
+- added Rescan button in unused devices view
* Tue Sep 09 2008 aschnell@suse.de
- removed dependency on yast2-packager (required files are
in yast2 now)
++++++ yast2-storage-2.17.28.tar.bz2 -> yast2-storage-2.17.29.tar.bz2 ++++++
++++ 2223 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-storage-2.17.28/configure.in new/yast2-storage-2.17.29/configure.in
--- old/yast2-storage-2.17.28/configure.in 2008-09-09 10:47:56.000000000 +0200
+++ new/yast2-storage-2.17.29/configure.in 2008-09-12 16:41:45.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.17.6 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-storage, 2.17.28, http://bugs.opensuse.org/, yast2-storage)
+AC_INIT(yast2-storage, 2.17.29, http://bugs.opensuse.org/, yast2-storage)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -18,7 +18,7 @@
AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
dnl Important YaST2 variables
-VERSION="2.17.28"
+VERSION="2.17.29"
RPMNAME="yast2-storage"
MAINTAINER="Arvin Schnell "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-storage-2.17.28/libstorage/src/AppUtil.cc new/yast2-storage-2.17.29/libstorage/src/AppUtil.cc
--- old/yast2-storage-2.17.28/libstorage/src/AppUtil.cc 2008-08-28 11:04:11.000000000 +0200
+++ new/yast2-storage-2.17.29/libstorage/src/AppUtil.cc 2008-09-11 14:22:21.000000000 +0200
@@ -459,7 +459,7 @@
void
-getFindMap(const char* path, map& m)
+getUdevMap(const char* path, map& m)
{
y2mil( "path: " << path );
@@ -474,7 +474,7 @@
void
-getFindRevMap(const char* path, map& m)
+getRevUdevMap(const char* path, map& m)
{
y2mil("path: " << path);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-storage-2.17.28/libstorage/src/AppUtil.h new/yast2-storage-2.17.29/libstorage/src/AppUtil.h
--- old/yast2-storage-2.17.28/libstorage/src/AppUtil.h 2008-08-28 11:04:17.000000000 +0200
+++ new/yast2-storage-2.17.29/libstorage/src/AppUtil.h 2008-09-11 14:23:06.000000000 +0200
@@ -37,8 +37,8 @@
const string& delim = "=",
const string& removeSur = " \t\n" );
-void getFindMap(const char* path, std::map& m);
-void getFindRevMap(const char* path, std::map& m);
+void getUdevMap(const char* path, std::map& m);
+void getRevUdevMap(const char* path, std::map& m);
string normalizeDevice( const string& dev );
void normalizeDevice( string& dev );
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-storage-2.17.28/libstorage/src/Dmmultipath.cc new/yast2-storage-2.17.29/libstorage/src/Dmmultipath.cc
--- old/yast2-storage-2.17.28/libstorage/src/Dmmultipath.cc 2008-09-01 17:04:53.000000000 +0200
+++ new/yast2-storage-2.17.29/libstorage/src/Dmmultipath.cc 2008-09-12 11:32:34.000000000 +0200
@@ -33,12 +33,12 @@
d = co()->numToName(p->OrigNr());
if( doing )
{
- // displayed text during action, %1$s is replaced by multipath partition name e.g. pdc_dabaheedj1
+ // displayed text during action, %1$s is replaced by multipath partition name e.g. 3600508b400105f590000900000300000_part1
txt = sformat( _("Deleting multipath partition %1$s"), d.c_str() );
}
else
{
- // displayed text before action, %1$s is replaced by multipath partition name e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by multipath partition name e.g. 3600508b400105f590000900000300000_part1
// %2$s is replaced by size (e.g. 623.5 MB)
txt = sformat( _("Delete multipath partition %1$s (%2$s)"), d.c_str(),
sizeString().c_str() );
@@ -52,14 +52,14 @@
string d = dev.substr(12);
if( doing )
{
- // displayed text during action, %1$s is replaced by multipath partition name e.g. pdc_dabaheedj1
+ // displayed text during action, %1$s is replaced by multipath partition name e.g. 3600508b400105f590000900000300000_part1
txt = sformat( _("Creating multipath partition %1$s"), d.c_str() );
}
else
{
if( mp=="swap" )
{
- // displayed text before action, %1$s is replaced by multipath partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by multipath partition e.g. 3600508b400105f590000900000300000_part1
// %2$s is replaced by size (e.g. 623.5 MB)
txt = sformat( _("Create swap multipath partition %1$s (%2$s)"),
d.c_str(), sizeString().c_str() );
@@ -68,7 +68,7 @@
{
if( encryption==ENC_NONE )
{
- // displayed text before action, %1$s is replaced by multipath partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by multipath partition e.g. 3600508b400105f590000900000300000_part1
// %2$s is replaced by size (e.g. 623.5 MB)
// %3$s is replaced by file system type (e.g. reiserfs)
// %4$s is replaced by mount point (e.g. /usr)
@@ -78,7 +78,7 @@
}
else
{
- // displayed text before action, %1$s is replaced by multipath partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by multipath partition e.g. 3600508b400105f590000900000300000_part1
// %2$s is replaced by size (e.g. 623.5 MB)
// %3$s is replaced by file system type (e.g. reiserfs)
// %4$s is replaced by mount point (e.g. /usr)
@@ -89,14 +89,14 @@
}
else if( p && p->type()==EXTENDED )
{
- // displayed text before action, %1$s is replaced by multipath partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by multipath partition e.g. 3600508b400105f590000900000300000_part1
// %2$s is replaced by size (e.g. 623.5 MB)
txt = sformat( _("Create extended multipath partition %1$s (%2$s)"),
d.c_str(), sizeString().c_str() );
}
else
{
- // displayed text before action, %1$s is replaced by multipath partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by multipath partition e.g. 3600508b400105f590000900000300000_part1
// %2$s is replaced by size (e.g. 623.5 MB)
txt = sformat( _("Create multipath partition %1$s (%2$s)"),
d.c_str(), sizeString().c_str() );
@@ -111,7 +111,7 @@
string d = dev.substr(12);
if( doing )
{
- // displayed text during action, %1$s is replaced by multipath partition e.g. pdc_dabaheedj1
+ // displayed text during action, %1$s is replaced by multipath partition e.g. 3600508b400105f590000900000300000_part1
// %2$s is replaced by size (e.g. 623.5 MB)
// %3$s is replaced by file system type (e.g. reiserfs)
txt = sformat( _("Formatting multipath partition %1$s (%2$s) with %3$s"),
@@ -123,14 +123,14 @@
{
if( mp=="swap" )
{
- // displayed text before action, %1$s is replaced by multipath partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by multipath partition e.g. 3600508b400105f590000900000300000_part1
// %2$s is replaced by size (e.g. 623.5 MB)
txt = sformat( _("Format multipath partition %1$s (%2$s) for swap"),
d.c_str(), sizeString().c_str() );
}
else if( encryption==ENC_NONE )
{
- // displayed text before action, %1$s is replaced by multipath partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by multipath partition e.g. 3600508b400105f590000900000300000_part1
// %2$s is replaced by size (e.g. 623.5 MB)
// %3$s is replaced by file system type (e.g. reiserfs)
// %4$s is replaced by mount point (e.g. /usr)
@@ -140,7 +140,7 @@
}
else
{
- // displayed text before action, %1$s is replaced by multipath partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by multipath partition e.g. 3600508b400105f590000900000300000_part1
// %2$s is replaced by size (e.g. 623.5 MB)
// %3$s is replaced by file system type (e.g. reiserfs)
// %4$s is replaced by mount point (e.g. /usr)
@@ -151,7 +151,7 @@
}
else
{
- // displayed text before action, %1$s is replaced by multipath partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by multipath partition e.g. 3600508b400105f590000900000300000_part1
// %2$s is replaced by size (e.g. 623.5 MB)
// %3$s is replaced by file system type (e.g. reiserfs)
txt = sformat( _("Format multipath partition %1$s (%2$s) with %3$s"),
@@ -169,11 +169,11 @@
if( doing )
{
if( needShrink() )
- // displayed text during action, %1$s is replaced by multipath partition e.g. pdc_dabaheedj1
+ // displayed text during action, %1$s is replaced by multipath partition e.g. 3600508b400105f590000900000300000_part1
// %2$s is replaced by size (e.g. 623.5 MB)
txt = sformat( _("Shrinking multipath partition %1$s to %2$s"), d.c_str(), sizeString().c_str() );
else
- // displayed text during action, %1$s is replaced by multipath partition e.g. pdc_dabaheedj1
+ // displayed text during action, %1$s is replaced by multipath partition e.g. 3600508b400105f590000900000300000_part1
// %2$s is replaced by size (e.g. 623.5 MB)
txt = sformat( _("Extending multipath partition %1$s to %2$s"), d.c_str(), sizeString().c_str() );
// text displayed during action
@@ -182,11 +182,11 @@
else
{
if( needShrink() )
- // displayed text before action, %1$s is replaced by multipath partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by multipath partition e.g. 3600508b400105f590000900000300000_part1
// %2$s is replaced by size (e.g. 623.5 MB)
txt = sformat( _("Shrink multipath partition %1$s to %2$s"), d.c_str(), sizeString().c_str() );
else
- // displayed text before action, %1$s is replaced by multipath partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by multipath partition e.g. 3600508b400105f590000900000300000_part1
// %2$s is replaced by size (e.g. 623.5 MB)
txt = sformat( _("Extend multipath partition %1$s to %2$s"), d.c_str(), sizeString().c_str() );
@@ -200,14 +200,14 @@
string d = dev.substr(12);
if( doing )
{
- // displayed text during action, %1$s is replaced by partition name (e.g. pdc_dabaheedj1),
+ // displayed text during action, %1$s is replaced by partition name (e.g. 3600508b400105f590000900000300000_part1),
// %2$s is replaced by hexadecimal number (e.g. 8E)
txt = sformat( _("Setting type of multipath partition %1$s to %2$X"),
d.c_str(), id() );
}
else
{
- // displayed text before action, %1$s is replaced by partition name (e.g. pdc_dabaheedj1),
+ // displayed text before action, %1$s is replaced by partition name (e.g. 3600508b400105f590000900000300000_part1),
// %2$s is replaced by hexadecimal number (e.g. 8E)
txt = sformat( _("Set type of multipath partition %1$s to %2$X"),
d.c_str(), id() );
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-storage-2.17.28/libstorage/src/DmmultipathCo.cc new/yast2-storage-2.17.29/libstorage/src/DmmultipathCo.cc
--- old/yast2-storage-2.17.28/libstorage/src/DmmultipathCo.cc 2008-09-08 17:32:53.000000000 +0200
+++ new/yast2-storage-2.17.29/libstorage/src/DmmultipathCo.cc 2008-09-12 11:32:30.000000000 +0200
@@ -176,14 +176,14 @@
string d = nm;
if( doing )
{
- // displayed text during action, %1$s is replaced by multipath name (e.g. pdc_igeeeadj),
+ // displayed text during action, %1$s is replaced by multipath name (e.g. 3600508b400105f590000900000300000),
// %2$s is replaced by label name (e.g. msdos)
txt = sformat( _("Setting disk label of multipath disk %1$s to %2$s"),
d.c_str(), labelName().c_str() );
}
else
{
- // displayed text before action, %1$s is replaced by multipath name (e.g. pdc_igeeeadj),
+ // displayed text before action, %1$s is replaced by multipath name (e.g. 3600508b400105f590000900000300000),
// %2$s is replaced by label name (e.g. msdos)
txt = sformat( _("Set disk label of multipath disk %1$s to %2$s"),
d.c_str(), labelName().c_str() );
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-storage-2.17.28/libstorage/src/Dmraid.cc new/yast2-storage-2.17.29/libstorage/src/Dmraid.cc
--- old/yast2-storage-2.17.28/libstorage/src/Dmraid.cc 2008-09-01 17:04:53.000000000 +0200
+++ new/yast2-storage-2.17.29/libstorage/src/Dmraid.cc 2008-09-12 11:30:45.000000000 +0200
@@ -33,12 +33,12 @@
d = co()->numToName(p->OrigNr());
if( doing )
{
- // displayed text during action, %1$s is replaced by raid partition name e.g. pdc_dabaheedj1
+ // displayed text during action, %1$s is replaced by raid partition name e.g. pdc_dabaheedj_part1
txt = sformat( _("Deleting raid partition %1$s"), d.c_str() );
}
else
{
- // displayed text before action, %1$s is replaced by raid partition name e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by raid partition name e.g. pdc_dabaheedj_part1
// %2$s is replaced by size (e.g. 623.5 MB)
txt = sformat( _("Delete raid partition %1$s (%2$s)"), d.c_str(),
sizeString().c_str() );
@@ -52,14 +52,14 @@
string d = dev.substr(12);
if( doing )
{
- // displayed text during action, %1$s is replaced by raid partition name e.g. pdc_dabaheedj1
+ // displayed text during action, %1$s is replaced by raid partition name e.g. pdc_dabaheedj_part1
txt = sformat( _("Creating raid partition %1$s"), d.c_str() );
}
else
{
if( mp=="swap" )
{
- // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj_part1
// %2$s is replaced by size (e.g. 623.5 MB)
txt = sformat( _("Create swap raid partition %1$s (%2$s)"),
d.c_str(), sizeString().c_str() );
@@ -68,7 +68,7 @@
{
if( encryption==ENC_NONE )
{
- // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj_part1
// %2$s is replaced by size (e.g. 623.5 MB)
// %3$s is replaced by file system type (e.g. reiserfs)
// %4$s is replaced by mount point (e.g. /usr)
@@ -78,7 +78,7 @@
}
else
{
- // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj_part1
// %2$s is replaced by size (e.g. 623.5 MB)
// %3$s is replaced by file system type (e.g. reiserfs)
// %4$s is replaced by mount point (e.g. /usr)
@@ -89,14 +89,14 @@
}
else if( p && p->type()==EXTENDED )
{
- // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj_part1
// %2$s is replaced by size (e.g. 623.5 MB)
txt = sformat( _("Create extended raid partition %1$s (%2$s)"),
d.c_str(), sizeString().c_str() );
}
else
{
- // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj_part1
// %2$s is replaced by size (e.g. 623.5 MB)
txt = sformat( _("Create raid partition %1$s (%2$s)"),
d.c_str(), sizeString().c_str() );
@@ -111,7 +111,7 @@
string d = dev.substr(12);
if( doing )
{
- // displayed text during action, %1$s is replaced by raid partition e.g. pdc_dabaheedj1
+ // displayed text during action, %1$s is replaced by raid partition e.g. pdc_dabaheedj_part1
// %2$s is replaced by size (e.g. 623.5 MB)
// %3$s is replaced by file system type (e.g. reiserfs)
txt = sformat( _("Formatting raid partition %1$s (%2$s) with %3$s"),
@@ -123,14 +123,14 @@
{
if( mp=="swap" )
{
- // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj_part1
// %2$s is replaced by size (e.g. 623.5 MB)
txt = sformat( _("Format raid partition %1$s (%2$s) for swap"),
d.c_str(), sizeString().c_str() );
}
else if( encryption==ENC_NONE )
{
- // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj_part1
// %2$s is replaced by size (e.g. 623.5 MB)
// %3$s is replaced by file system type (e.g. reiserfs)
// %4$s is replaced by mount point (e.g. /usr)
@@ -140,7 +140,7 @@
}
else
{
- // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj_part1
// %2$s is replaced by size (e.g. 623.5 MB)
// %3$s is replaced by file system type (e.g. reiserfs)
// %4$s is replaced by mount point (e.g. /usr)
@@ -151,7 +151,7 @@
}
else
{
- // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj_part1
// %2$s is replaced by size (e.g. 623.5 MB)
// %3$s is replaced by file system type (e.g. reiserfs)
txt = sformat( _("Format raid partition %1$s (%2$s) with %3$s"),
@@ -169,11 +169,11 @@
if( doing )
{
if( needShrink() )
- // displayed text during action, %1$s is replaced by raid partition e.g. pdc_dabaheedj1
+ // displayed text during action, %1$s is replaced by raid partition e.g. pdc_dabaheedj_part1
// %2$s is replaced by size (e.g. 623.5 MB)
txt = sformat( _("Shrinking raid partition %1$s to %2$s"), d.c_str(), sizeString().c_str() );
else
- // displayed text during action, %1$s is replaced by raid partition e.g. pdc_dabaheedj1
+ // displayed text during action, %1$s is replaced by raid partition e.g. pdc_dabaheedj_part1
// %2$s is replaced by size (e.g. 623.5 MB)
txt = sformat( _("Extending raid partition %1$s to %2$s"), d.c_str(), sizeString().c_str() );
// text displayed during action
@@ -182,11 +182,11 @@
else
{
if( needShrink() )
- // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj_part1
// %2$s is replaced by size (e.g. 623.5 MB)
txt = sformat( _("Shrink raid partition %1$s to %2$s"), d.c_str(), sizeString().c_str() );
else
- // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj1
+ // displayed text before action, %1$s is replaced by raid partition e.g. pdc_dabaheedj_part1
// %2$s is replaced by size (e.g. 623.5 MB)
txt = sformat( _("Extend raid partition %1$s to %2$s"), d.c_str(), sizeString().c_str() );
@@ -200,14 +200,14 @@
string d = dev.substr(12);
if( doing )
{
- // displayed text during action, %1$s is replaced by partition name (e.g. pdc_dabaheedj1),
+ // displayed text during action, %1$s is replaced by partition name (e.g. pdc_dabaheedj_part1),
// %2$s is replaced by hexadecimal number (e.g. 8E)
txt = sformat( _("Setting type of raid partition %1$s to %2$X"),
d.c_str(), id() );
}
else
{
- // displayed text before action, %1$s is replaced by partition name (e.g. pdc_dabaheedj1),
+ // displayed text before action, %1$s is replaced by partition name (e.g. pdc_dabaheedj_part1),
// %2$s is replaced by hexadecimal number (e.g. 8E)
txt = sformat( _("Set type of raid partition %1$s to %2$X"),
d.c_str(), id() );
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-storage-2.17.28/libstorage/src/ProcMounts.cc new/yast2-storage-2.17.29/libstorage/src/ProcMounts.cc
--- old/yast2-storage-2.17.28/libstorage/src/ProcMounts.cc 2008-08-27 14:10:46.000000000 +0200
+++ new/yast2-storage-2.17.29/libstorage/src/ProcMounts.cc 2008-09-11 14:25:54.000000000 +0200
@@ -19,8 +19,8 @@
{
map by_label;
map by_uuid;
- getFindRevMap( "/dev/disk/by-label", by_label );
- getFindRevMap( "/dev/disk/by-uuid", by_uuid );
+ getRevUdevMap("/dev/disk/by-label", by_label);
+ getRevUdevMap("/dev/disk/by-uuid", by_uuid);
ifstream mounts( "/proc/mounts" );
classic(mounts);
string line;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-storage-2.17.28/libstorage/src/Storage.cc new/yast2-storage-2.17.29/libstorage/src/Storage.cc
--- old/yast2-storage-2.17.28/libstorage/src/Storage.cc 2008-09-01 22:11:25.000000000 +0200
+++ new/yast2-storage-2.17.29/libstorage/src/Storage.cc 2008-09-11 14:25:32.000000000 +0200
@@ -496,7 +496,7 @@
DmraidCo::getRaids( l );
map by_id;
if( !l.empty() )
- getFindMap("/dev/disk/by-id", by_id);
+ getUdevMap("/dev/disk/by-id", by_id);
for( list<string>::const_iterator i=l.begin(); i!=l.end(); ++i )
{
DmraidCo * v = new DmraidCo( this, *i, ppart );
@@ -537,7 +537,7 @@
DmmultipathCo::getMultipaths( l );
map by_id;
if( !l.empty() )
- getFindMap("/dev/disk/by-id", by_id);
+ getUdevMap("/dev/disk/by-id", by_id);
for( list<string>::const_iterator i=l.begin(); i!=l.end(); ++i )
{
DmmultipathCo * v = new DmmultipathCo( this, *i, ppart );
@@ -669,8 +669,8 @@
{
map by_path;
map by_id;
- getFindMap("/dev/disk/by-path", by_path);
- getFindMap("/dev/disk/by-id", by_id);
+ getUdevMap("/dev/disk/by-path", by_path);
+ getUdevMap("/dev/disk/by-id", by_id);
list<DiskData> dl;
while( (Entry=readdir( Dir ))!=NULL )
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-storage-2.17.28/libstorage/src/StorageInterface.h new/yast2-storage-2.17.29/libstorage/src/StorageInterface.h
--- old/yast2-storage-2.17.28/libstorage/src/StorageInterface.h 2008-09-04 10:34:47.000000000 +0200
+++ new/yast2-storage-2.17.29/libstorage/src/StorageInterface.h 2008-09-11 19:37:08.000000000 +0200
@@ -118,7 +118,7 @@
COTYPE_LAST_ENTRY };
/**
- * typedef for a pointer to a function that is called on progress bar events
+ * typedef for a pointer to a function that is called on progress bar events
*/
typedef void (*CallbackProgressBar)( const string& id, unsigned cur, unsigned max );
@@ -1228,7 +1228,7 @@
virtual int setCryptPassword( const string& device, const string& pwd ) = 0;
/**
- * Makes library forgt a crypt password of a volume
+ * Makes library forget a crypt password of a volume
*
* @param device name of volume, e.g. /dev/hda1
* @return zero if all is ok, a negative number to indicate an error
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-storage-2.17.28/storage/src/include/ep-main.ycp new/yast2-storage-2.17.29/storage/src/include/ep-main.ycp
--- old/yast2-storage-2.17.28/storage/src/include/ep-main.ycp 2008-09-08 09:49:13.000000000 +0200
+++ new/yast2-storage-2.17.29/storage/src/include/ep-main.ycp 2008-09-10 14:55:17.000000000 +0200
@@ -91,7 +91,7 @@
`loop : $[ `create : CreateLoopMainPanel, `handle : HandleLoopMainPanel ],
`dm : $[ `create : CreateDmMainPanel ],
`nfs : $[ `create : CreateNfsMainPanel, `handle : HandleNfsMainPanel ],
- `unused : $[ `create : CreateUnusedPanel ],
+ `unused : $[ `create : CreateUnusedPanel, `handle: HandleUnusedPanel ],
`settings : $[ `create : CreateSettingsPanel, `handle : HandleSettingsPanel, `destroy : DestroySettingsPanel ],
`log : $[ `create : CreateLogPanel, `handle : HandleLogPanel, `destroy : DestroyLogPanel ] ];
@@ -162,7 +162,7 @@
huhu(disk, `dm, $[ `create : CreateDmPanel, `handle : HandleDmPanel ], nil);
break;
case `CT_NFS:
- huhu(disk, `nfs, $[ `create : CreateNfsPanel ], nil);
+ huhu(disk, `nfs, $[ `create : CreateNfsPanel, `handle: HandleNfsMainPanel ], nil);
break;
}
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-storage-2.17.28/storage/src/include/ep-nfs.ycp new/yast2-storage-2.17.29/storage/src/include/ep-nfs.ycp
--- old/yast2-storage-2.17.28/storage/src/include/ep-nfs.ycp 2008-09-08 09:49:13.000000000 +0200
+++ new/yast2-storage-2.17.29/storage/src/include/ep-nfs.ycp 2008-09-10 14:55:17.000000000 +0200
@@ -8,7 +8,6 @@
textdomain "storage";
import "Directory";
- import "FileUtils";
import "PackageCallbacks";
import "PackageSystem";
import "Wizard";
@@ -46,8 +45,8 @@
//in inst-sys, have a look at nfs-client4part adapter client
else
{
- string filename = Directory::clientdir + "/" + "nfs-client4part.ycp";
- pkg_installed = FileUtils::Exists(filename);
+ string filename = "nfs-client4part.ycp";
+ pkg_installed = WFM::ClientExists(filename);
}
if ( pkg_installed )
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-storage-2.17.28/storage/src/include/ep-unused.ycp new/yast2-storage-2.17.29/storage/src/include/ep-unused.ycp
--- old/yast2-storage-2.17.28/storage/src/include/ep-unused.ycp 2008-09-01 16:23:32.000000000 +0200
+++ new/yast2-storage-2.17.29/storage/src/include/ep-unused.ycp 2008-09-12 10:46:03.000000000 +0200
@@ -6,7 +6,7 @@
*/
{
textdomain "storage";
-
+ include "partitioning/ep-dialogs.ycp";
void CreateUnusedPanel(any user_data)
{
@@ -50,8 +50,13 @@
// heading
`IconAndHeading(_("Unused Devices"), unused_icon),
`Table(`id(`table), `opt(`keepSorting, `notify),
- table_header, table_contents)
- ))
+ table_header, table_contents),
+ `HBox(
+ // push button text
+ `PushButton(`id(`rescan), _("Rescan")),
+ `HStretch()
+ )
+ ))
);
// helptext
@@ -61,4 +66,22 @@
Wizard::RestoreHelp(helptext + StorageFields::TableHelptext(fields));
}
+
+
+ void HandleUnusedPanel(any user_data, symbol widget)
+ {
+ switch (widget)
+ {
+ case `rescan:
+ // popup message
+ if (Popup::YesNo(_("Rescaning unused devices cancels
+all current changes. Really rescan unused devices?")))
+ {
+ RescanDisks();
+ Storage::CreateTargetBackup("expert-partitioner");
+ UpdateNavigationTree(nil);
+ TreePanel::Create();
+ }
+ }
+ }
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-storage-2.17.28/VERSION new/yast2-storage-2.17.29/VERSION
--- old/yast2-storage-2.17.28/VERSION 2008-09-09 10:46:28.000000000 +0200
+++ new/yast2-storage-2.17.29/VERSION 2008-09-12 10:47:10.000000000 +0200
@@ -1 +1 @@
-2.17.28
+2.17.29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org