centos mount ntfs
原文來自: http://paul.pixnet.net/blog/post/25768635
此次筆記是補充兩年前「Linux support NTFS by NTFS-3G」這
篇文章,現在使用 NTFS-3G 變得方便不少,僅需要確認套件是
否有安裝,幾行指令即可讓 Linux 支援 NTFS 的檔案格式。
【實作環境】
OS:CentOS 5.4_x64
Kernel:kernel-2.6.18-164.10.1.el5
【所需套件】
* fuse
* ntfs-3g-2010.1.16.tar.gz
* ntfsprogs-2.0.0.tar.gz
【安裝步驟】
1) yum install fuse
| [root@sys ~]# yum install fuse |
2) ntfs-3g tarball install
| [root@sys ~]# tar zxvf ntfs-3g-2010.1.16.tgz [root@sys ~]# cd ntfs-3g-2010.1.16/ [root@sys ~]# ./configure –prefix=/usr/local/ntfs-3g [root@sys ~]# make [root@sys ~]# make install |
3) ntfsprogs tarball install
| [root@sys ~]# tar zxvf ntfsprogs-2.0.0.tar.gz [root@sys ~]# cd ntfsprogs-2.0.0/ [root@sys ~]# ./configure –prefix=/usr/local/ntfsprogs [root@sys ~]# make [root@sys ~]# make install |
【建立 NTFS 檔案系統】
| [root@sys ~]# mkntfs /dev/sda1 |
【掛載 NTFS 檔案系統】
| [root@sys ~]# mount -t ntfs-3g /dev/sda1 /mnt/windows |
【開機自動掛載 NTFS 檔案系統】
| [root@sys ~]# vi /etc/fstab
/dev/sda1 /mnt/windows ntfs-3g defaults 0 0 |
補充說明:
舊版本原先需用 locale=zh_TW.utf8 來設定支援中文。新版已
不支援「locale」參數。僅需檢查環境變數「LC_ALL」是否為
zh_TW.utf8,即可支援繁體中文。
【參考資料】
【延伸閱讀】
vSphere on win7 fix
change vclient_on_w2k7_hack.png to vclient_on_w2k7_hack.zip, then unzip
[VM]vSphere client on win7
原文網址 : http://www.techhead.co.uk/running-vmware-vsphere-client-on-windows-7
Many of you, like myself, have started running Windows 7 as their primary desktop OS and find it to be a massive improvement over Windows Vista on so many levels.
One of the very few inconveniences I have found with it, and this is not an bug or problem with Windows 7 itself, is the inability to run the VMware vSphere Client.
UPDATE: Good News – This issue has now been resolved in VMware ESX/ESXi 4.0 Update 1 (U1).
When attempting to run the client the following errors are received and you are unable to proceed any further:
“Error parsing the server “<server name” “clients.xml” file.”

“The type initializer for ‘VirtualInfrastructure.Utils.HttpWebRequestProxy’ threw an exception.”

Luckily there have been a few good VMware forum posts such as this one by ftubio which outlines how to successfully run the vSphere Client under Windows 7. I thought I’d put together this brief post with a few screenshots to outline the required steps.
I am running the x64 version of Windows 7 so you will notice that any reference to the ‘Program Files’ will have an ‘(x86)’ at the end of it. If you are running the x86 version of Windows 7 then ignore the ‘(x86)’ portion of the directory path (ie: C:\Program Files (x86) –> C:\Program Files).
Follow these 4 basic steps and you’ll be up and running in no time!
Step 1.
Download this DLL called system.dll
*Note: This DLL is usually found in the %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\ directory of a non Windows 7 PC with .NET v3.5 SP1 installed.
Step 2.
Once downloaded install it in the “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib” directory. If the ‘lib’ directory doesn’t exist then create it and drop the dll file into it.

Step 3.
Next edit the “VpxClient.exe.config” file which can be found in the “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher” directory and add the following three lines to it in the location specified in the screenshot below. Then save the changes.
<runtime>
<developmentMode developerInstallation=』true』/>
</runtime>

Step 4.
From the Windows 7 ‘System Properties’ click the ‘Advanced’ tab and then the ‘Environment Variables’ button as we want to add a new ‘System’ variable.

Create a new ‘System’ variable called ‘DEVPATH’ and assign the following variable value:
C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib

You are now ready to start using the VMware vSphere Client on your Windows 7 machine! Some people have reported having to run the client as an ‘Administrator’ so if you are having difficulties it may pay to try this – I luckily didn’t experience this problem. Also you will likely have to reboot your machine (or restart the explorer.exe process) for your new path information to come into effect.

台灣加油!!
影片製作團隊與幕後花絮:http://www.wretch.cc/blog/jrray/16308653
[哀]RIP Michael Jackson
今天早上看到plurk上面的消息
小弟年輕時的偶像之一死了
心中真的有點小小感觸
http://www.youtube.com/results?search_query=michael+jackson&search_type=&aq=0&oq=mic
編輯了很多次,最後留下moon walk….
他是神~
近期迴響