We use "--bind" in Linux:
mount --bind olddir newdir
and use lofs in OpenIndiana:
mount -F lofs olddir newdir
We use "--bind" in Linux:
mount --bind olddir newdir
and use lofs in OpenIndiana:
mount -F lofs olddir newdir
tmpfs的效能可以透過特殊方法提升,要動態提升可以透過command:
# echo 'tmp_nopage/W 1' | mdb -kw
此外可以透過設定檔讓系統開機時自動設定,透過修改/etc/system:
set tmpfs:tmp_nopage=1
原始說明節錄如下:
如果你有用rz傳輸檔案的習慣(透過XShell拖拉傳輸檔案),可以考慮自己編一個,因為Openindiana官方沒有提供package
網路上有許多文件,有些會說lrzsz比較強,可是我個人編起來傳輸檔案會有問題,建議還是編比較舊的rzsz 3.48,搭配XShell使用起來相當正常
Source:http://freeware.sgi.com/source/rzsz/rzsz-3.48.tar.gz
解壓縮後要小改Makefile,OFLAG要增加參數-DREGISTERED,即:
OFLAG= -O -DREGISTERED
Vim在Openindiana有些怪異現象,例如輸入模式(Insert mode)下無法使用方向鍵(上下左右),這解法很簡單,只要將語法高亮開啟就好了
另外是輸入模式(Insert mode)下使用倒退鍵(Backspace)無法直接刪除文字,這問題則需要更改參數bs,將其值設定成2
之後再補上背景顏色(background)預設值與搜尋高亮(hls)顯示,Vim的使用習慣就與Linux差不多了~
因此只要在家目錄寫一個.vimrc即可:vi ~/.vimrc
syntax on
預設Openindiana無法直接使用root登入,不管你是否透過ssh,這分兩個部分開啟:
開啟root直接登入:
rolemod -K type=normal root
開啟ssh直接登入,修改/etc/ssh/sshd_config:
PermitRootLogin yes
POSIX這個詞挺常聽說的,但是真實的代表什麼呢?
全名為「Portable Operating System Interface」,意思就是一個介面規定,這樣說起來也是有點抽象,那將清單列出來看過之後,應該就能體會了!
清單如下:
POSIX.1 function calls
| Function |
為了將zfs的問題單純化,嘗試了許多複雜的方法來避開「直接載入zfs」這件事
可是結論是「把問題想得太簡單了」,zfs本身已經跟kernel完全綁死,並沒有「模組化」,導致kernel與ramdisk載入後的環境就已經無法移除zfs
留些翻過的資料,或許以後還用的到:
Server:
share -F nfs -o rw=192.168.0.8,root=192.168.0.8 -d "foreclipse" /
unshare /
Define it on BOTH rw= and root=
Client:
從GUI設定IP基本上是個簡單的方法,但是若安裝純文字介面就會有許多問題
設定方法如下:
List of Operating Systems, Distros and add-ons that support ZFS, the zpool version it supports, and the Solaris build they are based on (if any):
| OS | Zpool version | Sun/Oracle Build # | Comments | Oracle Solaris 11 2011.11 | 33 |
|---|