Solaris Zone でグローバルゾーンのあるディレクトリをマウントするには

zonecfg で下記のように行う。dir はゾーン内のディレクトリ、special はグローバルゾーンのマウント対象ディレクトリ、options は rw にして読み書き可能にしている。 # zonecfg -z testzone zonecfg:testzone> add fs zonecfg:testzone:fs> set dir = /shared zonecfg:testzone:fs> set special = /export/shared zonecfg:testzone:fs> set type = lofs zonecfg:testzone:fs> set options = rw zonecfg:testzone:fs> end zonecfg:testzone> verify zonecfg:testzone> commit zonecfg:testzone> info fs fs: dir: /shared special: /export/shared raw not specified type: lofs options: [rw]

2007年9月14日 · Toshimitsu Takahashi

Solaris 10 で libstdc++.la が空

コンパイルエラーで気づいた。下記を書き込んでしまう。SPARC用。 http://forum.java.sun.com/thread.jspa?threadID=5073150 /usr/sfw/lib/libstdc++.la # libstdc++.la - a libtool library file # Generated by ltmain.sh - GNU libtool 1.4a-GCC3.0 (1.641.2.256 2001/05/28 20:09:07 with GCC-local changes) # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='libstdc++.so.6' # Names of this library. library_names='libstdc++.so.6.0.3 libstdc++.so.6 libstdc++.so' # The name of the static archive. old_library='libstdc++.a' # Libraries that this one depends upon. dependency\_libs='-lc -lm -L/usr/sfw/lib -lgcc\_s' # Version information for libstdc++. current=6 age=0 revision=3 # Is this an already installed library? installed=yes # Files to dlopen/dlpreopen dlopen='' dlpreopen='' # Directory that this library needs to be installed in: libdir='/usr/sfw/lib' /usr/sfw/lib/64/libstdc++.la # libstdc++.la - a libtool library file # Generated by ltmain.sh - GNU libtool 1.4a-GCC3.0 (1.641.2.256 2001/05/28 20:09:07 with GCC-local changes) # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='libstdc++.so.6' # Names of this library. library_names='libstdc++.so.6.0.3 libstdc++.so.6 libstdc++.so' # The name of the static archive. old_library='libstdc++.a' # Libraries that this one depends upon. dependency\_libs='-L/lib/64 -lc -lm -L/usr/sfw/lib/64 -lgcc\_s' # Version information for libstdc++. current=6 age=0 revision=3 # Is this an already installed library? installed=yes # Files to dlopen/dlpreopen dlopen='' dlpreopen='' # Directory that this library needs to be installed in: libdir='/usr/sfw/lib/64'

2007年3月28日 · Toshimitsu Takahashi