UJP - 技術情報

Life is fun and easy!

不正IP報告数

Okan Sensor
 
メイン
ログイン
ブログ カテゴリ一覧

     

SunScan2000 〜2000年問題チェックプログラム〜


SunScan2000

〜2000年問題チェックプログラム〜


0.改定履歴

  • 1998.12.14 初版

1.はじめに

 このドキュメントは,Solarisで,インストールされているモジュールの2000年問題を検索するプログラムである.

 このプログラムは

2.仕組み

 このプログラムでは,pkginfoで得られる情報と,SunScan2000が持つデータベース(テキスト?)をマッチングさせ,一覧を出しているだけのようである.(FAQ参照)

3.インストール

  • ダウンロードサイトから,アンケートに答えてダウンロードする.
  • tarファイルなので,これを展開する.

SunScan2000インストール手順
root@duo: ls -la
合計 500
drwxr-xr-x   2 root     other        512 12月 14日  15:25 .
drwxr-xr-x   5 root     other        512 12月 14日  15:25 ..
-rw-rw-rw-   1 root     other     245760 12月 14日  15:24 sunscan.tar
root@duo: tar xf sunscan.tar
root@duo: ls -la
合計 516
drwxr-xr-x   4 root     other        512 12月 14日  15:26 .
drwxr-xr-x   5 root     other        512 12月 14日  15:25 ..
drwxr-xr-x   5 11739    70           512 11月 11日  06:47 data
-rwxr--r--   1 11739    70           880 12月  3日  05:32 sunscan
-rw-------   1 11739    70          4865 12月  3日  05:51 sunscan.man
-rw-rw-rw-   1 root     other     245760 12月 14日  15:24 sunscan.tar
drwxr-xr-x   2 11739    70           512 11月 29日  04:59 tools
root@duo:

4.実行

  • toolsディレクトリ以下に,pkg.scriptという実行権限のあるファイルが有るので,これを実行する.

 SunScan2000実行サンプル
root@duo: cd tools
root@duo: ls -la
合計 62
drwxr-xr-x   2 11739    70           512 11月 29日  04:59 .
drwxr-xr-x   4 root     other        512 12月 14日  15:26 ..
-rwx------   1 11739    70           346 12月  3日  05:34 Matchit
-rwx------   1 11739    70          1136 12月  3日  05:34 check_date
-rwx------   1 11739    70          1512 12月  3日  05:33 commandsexist.script
-rwx------   1 11739    70           334  8月  4日  07:03 copyright
-rwx------   1 11739    70           193 12月  3日  05:35 gen.readme.head
-rwx------   1 11739    70          2258 12月  3日  05:35 hw.script
-rwx------   1 11739    70          7269 11月 29日  05:29 os.script
-rwxr-xr-x   1 11739    70          7538 11月 13日  01:13 pkg.script
-rwx------   1 11739    70            87 11月 10日  02:01 pkginfo-x-parser.sed
-rwx------   1 11739    70            77 10月  5日  05:12 product-parser.sed
-rwx------   1 11739    70             4 12月  1日  05:36 rev.txt
root@duo: pkg.script
root@duo: ls -lat
合計 76
-rw-r--r--   1 root     other       6182 12月 14日  15:55 README
drwxr-xr-x   2 11739    70           512 12月 14日  15:28 .
drwxr-xr-x   4 root     other        512 12月 14日  15:26 ..
-rwx------   1 11739    70          2258 12月  3日  05:35 hw.script

〜略〜

  • 実行にはしばらく時間がかかる.(マシンにもよるが10分程度)
  • 実行結果はREADMEファイルとしてtoolsディレクトリに保存されている.

READMEファイルの中身サンプル
------------------------------------------------------------
P R O D U C T    C O M P L I A N C E    R E P O R T
------------------------------------------------------------
Product:  DiskSuite
Version:   68.1.5
is installed on the system.
DiskSuite 4.1 has level 2 compliance.
This means that this version of the product requries patches
to become Year 2000 Compliant.  Please visit Suns Year 2000
Website at http://sun.com/y2000/cpl.html to get details
on patches needed for this product.


Product:  CDE
Version:   1.0.2
is installed on the system.
***********************************************************
        CDE  1.0.2
         MUST BE UPGRADED TO
        CDE 1.2.
***********************************************************

 この例では,インストール済みパッケージDiskSuiteが2000年未対応なので,Webで追加情報を参照するようになっている.

 また,CDEについても,1.2にアップグレードするように警告されている.

5.関連リンク



広告スペース
Google