* [linux-lvm] lvm-tools patches
@ 2000-04-19 17:51 Ragnar Kjørstad
2000-04-19 19:35 ` Heinz Mauelshagen
0 siblings, 1 reply; 2+ messages in thread
From: Ragnar Kjørstad @ 2000-04-19 17:51 UTC (permalink / raw)
To: LVM Mailing List
[-- Attachment #1: Type: text/plain, Size: 442 bytes --]
Hi
I've attached a few small patches for lvm-tools (0.8final).
* lvm-compile.patch changes gnu/types.h to sys/types.h - it would not
compile without this change. (On RH 6.2)
* lvm-lvdisplay fixes a bug that made it impossible to use "-v -v".
* lvm-pvmove removes the source-PV equals dest-PV test. I can't see any
reason for this - I want to be able to move my PEs around on the same
disk....
--
Ragnar Kj�rstad
[-- Attachment #2: lvm-compile.patch --]
[-- Type: text/plain, Size: 260 bytes --]
--- LVM/0.8final.orig/tools/lib/liblvm.h Tue Feb 22 03:09:32 2000
+++ LVM/0.8final/tools/lib/liblvm.h Wed Apr 19 19:12:11 2000
@@ -47,7 +47,7 @@
# include <linux/version.h>
#endif
-#include <gnu/types.h>
+#include <sys/types.h>
#include <sys/stat.h>
[-- Attachment #3: lvm-lvdisplay.patch --]
[-- Type: text/plain, Size: 378 bytes --]
--- LVM/0.8final.orig/tools/lvdisplay.c Tue Feb 22 03:09:33 2000
+++ LVM/0.8final/tools/lvdisplay.c Wed Apr 19 19:14:33 2000
@@ -149,7 +149,7 @@
return LVM_ELVDISPLAY_LV_MISSING;
}
- if ( opt_c + opt_v > 1) {
+ if ( opt_c && opt_v ) {
fprintf ( stderr, "%s -- option v not allowed with option c\n\n", cmd);
return LVM_ELVDISPLAY_LV_MISSING;
}
[-- Attachment #4: lvm-pvmove.patch --]
[-- Type: text/plain, Size: 604 bytes --]
--- LVM/0.8final.orig/tools/pvmove.c Tue Feb 22 03:09:33 2000
+++ LVM/0.8final/tools/pvmove.c Wed Apr 19 19:33:12 2000
@@ -292,13 +292,6 @@
return LVM_EPVMOVE_VG_CHECK_CONSISTENCY;
}
- if ( vg->pv_cur == 1) {
- fprintf ( stderr, "%s -- volume group \"%s\" only has 1 "
- "physical volume\n\n",
- cmd, vg_name);
- return LVM_EPVMOVE_PV_CUR;
- }
-
/* get index of source physical volume */
if ( opt_v > 0) printf ( "%s -- searching for source physical volume \"%s\" "
"in volume group \"%s\"\n",
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] lvm-tools patches
2000-04-19 17:51 [linux-lvm] lvm-tools patches Ragnar Kjørstad
@ 2000-04-19 19:35 ` Heinz Mauelshagen
0 siblings, 0 replies; 2+ messages in thread
From: Heinz Mauelshagen @ 2000-04-19 19:35 UTC (permalink / raw)
To: Ragnar Kjørstad; +Cc: linux-lvm
Applied.
Regards,
Heinz
> Hi
>
> I've attached a few small patches for lvm-tools (0.8final).
>
> * lvm-compile.patch changes gnu/types.h to sys/types.h - it would not
> compile without this change. (On RH 6.2)
> * lvm-lvdisplay fixes a bug that made it impossible to use "-v -v".
> * lvm-pvmove removes the source-PV equals dest-PV test. I can't see any
> reason for this - I want to be able to move my PEs around on the same
> disk....
>
>
>
> --
> Ragnar Kjørstad
[Attachment, skipping...]
[Attachment, skipping...]
[Attachment, skipping...]
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Systemmanagement TS T-Nova
Entwicklungszentrum Darmstadt
Heinz Mauelshagen Otto-Roehm-Strasse 71c
Senior Systems Engineer Postfach 10 05 41
64205 Darmstadt
mge@EZ-Darmstadt.Telekom.de Germany
+49 6151 886-425
FAX-386
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-04-19 19:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-19 17:51 [linux-lvm] lvm-tools patches Ragnar Kjørstad
2000-04-19 19:35 ` Heinz Mauelshagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).