amd64/173830: Brain-dead simple change to ZFS error description link prefix
vermaden
vermaden at interia.pl
Thu Nov 22 08:40:01 UTC 2012
>Number: 173830
>Category: amd64
>Synopsis: Brain-dead simple change to ZFS error description link prefix
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-amd64
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 22 08:40:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: vermaden
>Release: (does not matter)
>Organization:
>Environment:
(does not matter)
>Description:
Hi,
When something in ZFS/ZPOOL fails, it displays links to error description to http://www.sun.com/msg/${ERROR} but these links do not work anymore after Oracle acquired Sun.
It should be brain-dead easy to change all occurrences in the source from not working http://www.sun.com/msg to https://www.illumos.org/msg prefix.
This should be helpful:
% grep -r 'http://www.sun.com/msg' /usr/src
/usr/src/sys/cddl/contrib/opensolaris/uts/common/os/.svn/text-base/fm.c.svn-base:static const char *fm_url = "http://www.sun.com/msg";
/usr/src/sys/cddl/contrib/opensolaris/uts/common/os/fm.c:static const char *fm_url = "http://www.sun.com/msg";
/usr/src/tools/regression/zfs/zpool/replace/raidz2.t: echo " see: http://www.sun.com/msg/ZFS-8000-4J"
/usr/src/tools/regression/zfs/zpool/replace/raidz2.t: echo " see: http://www.sun.com/msg/ZFS-8000-4J"
/usr/src/tools/regression/zfs/zpool/replace/raidz2.t: echo " see: http://www.sun.com/msg/ZFS-8000-4J"
/usr/src/tools/regression/zfs/zpool/replace/raidz2.t: echo " see: http://www.sun.com/msg/ZFS-8000-4J"
/usr/src/tools/regression/zfs/zpool/replace/raidz2.t: echo " see: http://www.sun.com/msg/ZFS-8000-4J"
/usr/src/tools/regression/zfs/zpool/replace/mirror.t: echo " see: http://www.sun.com/msg/ZFS-8000-4J"
/usr/src/tools/regression/zfs/zpool/replace/.svn/text-base/raidz1.t.svn-base: echo " see: http://www.sun.com/msg/ZFS-8000-4J"
/usr/src/tools/regression/zfs/zpool/replace/.svn/text-base/log.t.svn-base: echo " see: http://www.sun.com/msg/ZFS-8000-4J"
/usr/src/tools/regression/zfs/zpool/replace/.svn/text-base/log.t.svn-base: echo " see: http://www.sun.com/msg/ZFS-8000-2Q"
/usr/src/tools/regression/zfs/zpool/replace/.svn/text-base/mirror.t.svn-base: echo " see: http://www.sun.com/msg/ZFS-8000-4J"
/usr/src/tools/regression/zfs/zpool/replace/.svn/text-base/raidz2.t.svn-base: echo " see: http://www.sun.com/msg/ZFS-8000-4J"
/usr/src/tools/regression/zfs/zpool/replace/.svn/text-base/raidz2.t.svn-base: echo " see: http://www.sun.com/msg/ZFS-8000-4J"
/usr/src/tools/regression/zfs/zpool/replace/.svn/text-base/raidz2.t.svn-base: echo " see: http://www.sun.com/msg/ZFS-8000-4J"
/usr/src/tools/regression/zfs/zpool/replace/.svn/text-base/raidz2.t.svn-base: echo " see: http://www.sun.com/msg/ZFS-8000-4J"
/usr/src/tools/regression/zfs/zpool/replace/.svn/text-base/raidz2.t.svn-base: echo " see: http://www.sun.com/msg/ZFS-8000-4J"
/usr/src/tools/regression/zfs/zpool/replace/raidz1.t: echo " see: http://www.sun.com/msg/ZFS-8000-4J"
/usr/src/tools/regression/zfs/zpool/replace/log.t: echo " see: http://www.sun.com/msg/ZFS-8000-4J"
/usr/src/tools/regression/zfs/zpool/replace/log.t: echo " see: http://www.sun.com/msg/ZFS-8000-2Q"
Regards,
vermaden
>How-To-Repeat:
Broke ZFS and try to follow the suggested link ;)
>Fix:
(not tested)
# find /usr/src -type -f -exec sed -i '' s/http:\/\/www.sun.com\/msg/https:\/\/www.illumos.org\/msg/g {} ';'
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-amd64
mailing list