FYI, >From f6859f2fcbcf18a069a0495cbb8bd2baf395e74d Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyer...@redhat.com> Date: Wed, 14 Oct 2009 20:53:48 +0200 Subject: [PATCH] libparted: weaken a diagnostic
* 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 _______________________________________________ parted-devel mailing list parted-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/parted-devel