[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:16889] Re: Over 2GB on Plamo 3.0



山口@金沢市 です。

自己フォロー。

<20021205141658.EA9E55C004@ysathlon.spacelan.ne.jp>の記事において
私は書きました。

> > Plamo3.0 なので、制限等無いはずですよね。
> 
> 実は、
> 
>   カーネル 2.2 の時代にコンパイルされたコマンドがそのまま使われている
> 
> なんてことがあったりすると over 2GB 対応になっていないです。
> 
> 上記で出てきたコマンドで怪しそうなものをコンパイルしなおして
> 試して直れば、そのコマンド(のバイナリ)が原因です。
> # tcsh 以外は bash でも使うコマンドだから tcsh が怪しい?

Plamo 3.0 のパッケージをダウンロードして試してみました。

  Plamo-3.0/a1/tcsh.tgz
  Plamo-3.0/a1/txtutils.tgz

をダウンロードして適当に作成したディレクトリに展開して、

  tcsh.local% cd ./bin
  tcsh.local% ls -l
  -rwxr-xr-x    1 shingo   users       14716  8月 15日 21:45   cat*
  -rwxr-xr-x    1 shingo   users       16220  8月 15日 21:45   cut*
  -rwxr-xr-x    1 shingo   users       16016  8月 15日 21:45   head*
  -rwxr-xr-x    1 shingo   users      267912  9月 12日  1999年 tcsh*

なんかここでもう答えが出ているような気はしますが...
# tcsh が 1999 年製だ...

続けてみると、
# test1.dat, test2.dat はさっき作成したものです

  tcsh.local% ./tcsh
  tcsh.plamo3% /bin/cat test1.dat test2.dat > test12.dat
  ファイルサイズ制限オーバー
  tcsh.plamo3% ls -l
  -rw-r--r--    1 shingo   users    2147483647 12月  5日 23:26   test12.dat

と、駄目ですね。

一方、cat の方は、

  tcsh.plamo3% exit
  tcsh.local% ./cat test1.dat test2.dat > test12_cat.dat
  tcsh.local% ls -l
  -rw-r--r--    1 shingo   users    2147483647 12月  5日 23:26   test12.dat
  -rw-r--r--    1 shingo   users    2457600000 12月  5日 23:31   test12_cat.dat

と、大丈夫です。

ということで、

  tcsh を最新版に入れ換えましょう

ということで落ち着きそうです。ただ、今 Plamo についてる
バージョンでコンパイルしなおせばいいかは未確認です。
# 6.12.00 以降をコンパイルすれば確実です
-- 
山口 真悟 (YAMAGUCHI Shingo)
shingo-y@spacelan.ne.jp
shingo@kip.iis.toyama-u.ac.jp

Follow-Ups
[plamo:16921] Re: Over 2GB on Plamo 3.0, sshimo
References
[plamo:16888] Re: Over 2GB on Plamo 3.0, YAMAGUCHI Shingo

[検索ページ] [メール一覧]
Plamo ML 公開システム