[PATCH] libparted: weaken a diagnostic

Jim Meyering meyering at redhat.com
Wed Oct 14 18:53:48 UTC 2009


* libparted/arch/linux.c (_kernel_reread_part_table): Give a more
accurate diagnostic.  Reported by Curtis Gedak.
---
 libparted/arch/linux.c |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/libparted/arch/linux.c b/libparted/arch/linux.c
index 6a3c6b3..094e8d2 100644
--- a/libparted/arch/linux.c
+++ b/libparted/arch/linux.c
@@ -2450,12 +2450,10 @@ _kernel_reread_part_table (PedDevice* dev)
                         ped_exception_throw (
                                 PED_EXCEPTION_WARNING,
                                 PED_EXCEPTION_IGNORE,
-                        _("The kernel was unable to re-read the partition "
-                          "table on %s (%s).  This means Linux won't know "
-                          "anything about the modifications you made "
-                          "until you reboot.  You should reboot your computer "
-                          "before doing anything with %s."),
-                                dev->path, strerror (errno), dev->path);
+                        _("WARNING: the kernel failed to re-read the partition "
+                          "table on %s (%s).  As a result, it may not "
+                          "reflect all of your changes until after reboot."),
+                                dev->path, strerror (errno));
                         return 0;
                 }
         }
--
1.6.5.1.258.g5b20



More information about the parted-devel mailing list