Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 May 2012 05:17:25 GMT
From:      Mike Kelly <pioto@pioto.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/167701: zpool: Use www.illumos.org/msg instead of www.sun.com/msg.
Message-ID:  <201205080517.q485HPQr029514@red.freebsd.org>
Resent-Message-ID: <201205080520.q485K8FB095488@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         167701
>Category:       misc
>Synopsis:       zpool: Use www.illumos.org/msg instead of www.sun.com/msg.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 08 05:20:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mike Kelly
>Release:        9.0-RELEASE-p1
>Organization:
>Environment:
FreeBSD nas.home.pioto.org 9.0-RELEASE-p1 FreeBSD 9.0-RELEASE-p1 #6: Mon May  7 11:10:48 EDT 2012     root@nas.home.pioto.org:/usr/obj/usr/src/sys/NAS  i386

>Description:
The zpool command currently outputs links to various pages under http://www.sun.com/msg/. However, those are all dead links now.

The illumos project is still hosting valid links for these messages, though, under https://www.illumos.org/msg/.

The attached patch makes this correction.
>How-To-Repeat:
Check the `zpool status` output when various error conditions are occurring.
>Fix:
Author: Mike Kelly <pioto@pioto.org>
Date:   Fri Mar 9 10:22:11 2012 -0500

    Use www.illumos.org/msg instead of www.sun.com/msg.

    The latter is no longer a working URL for any of these ZFS messages.

diff --git a/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c b/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
index fe76250..75ab167 100644
--- a/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
+++ b/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
@@ -1616,7 +1616,7 @@ show_import(nvlist_t *config)
        }

        if (msgid != NULL)
-               (void) printf(gettext("   see: http://www.sun.com/msg/%s\n"),
+               (void) printf(gettext("   see: https://www.illumos.org/msg/%s\n"),
                    msgid);

        (void) printf(gettext(" config:\n\n"));
@@ -3683,7 +3683,7 @@ print_dedup_stats(nvlist_t *config)
  *        pool: tank
  *     status: DEGRADED
  *     reason: One or more devices ...
- *         see: http://www.sun.com/msg/ZFS-xxxx-01
+ *         see: https://www.illumos.org/msg/ZFS-xxxx-01
  *     config:
  *             mirror          DEGRADED
  *                c1t0d0       OK
@@ -3891,7 +3891,7 @@ status_callback(zpool_handle_t *zhp, void *data)
        }

        if (msgid != NULL)
-               (void) printf(gettext("   see: http://www.sun.com/msg/%s\n"),
+               (void) printf(gettext("   see: https://www.illumos.org/msg/%s\n"),
                    msgid);

        if (config != NULL) {


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205080517.q485HPQr029514>