close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": libtasn1.so.6: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Mar 9, 2011, 11:37:29 AM (14 years ago)
- Author:
-
waue
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v2
|
v3
|
|
2 | 2 | #!html |
3 | 3 | <div style="text-align: center; color:#151B8D"><big style="font-weight: bold;"><big><big> |
4 | | Linux Exfat 格式支援 |
| 4 | Exfat 格式支援 (windos, linux, mac) |
5 | 5 | </big></big></big></div> <div style="text-align: center; color:#7E2217"><big style="font-weight: bold;"><big> |
6 | 6 | 解決 mac 10.5.4 格式化後, windows & linux 都無法掛載的問題 |
… |
… |
|
12 | 12 | fat16, fat32, fat64 的比較詳情於此:[http://zh.wikipedia.org/zh-hant/FAT32] |
13 | 13 | |
| 14 | = mac = |
14 | 15 | |
15 | | 其實會使用的原因在於,用家中的mac mini server 可以對外接硬碟格式化的選擇,除了 mac 自家的檔案格式,就剩下 fat32 , exfat兩種可以選。 |
| 16 | mac 在 os 10.5.4 之後,就已經支援exfat 的格式化,讀,寫 了,(但其格式化有雷,詳情於後),因此不需額外處理。 |
16 | 17 | |
17 | | 而fat32 有單一檔案4G以下的限制,因此只剩下exfat 可以選。 |
| 18 | = windows = |
| 19 | windows xp 一開始並不支援,因此安裝patch 即可支援[http://support.microsoft.com/kb/955704/zh-tw 下載exFAT 檔案系統驅動程式更新套件]。 |
18 | 20 | |
19 | | 下面是讓linux 支援 exfat 的方式 |
| 21 | windows vista sp1 和 windows 7 都已經支援,因此不需而外安裝 |
| 22 | |
| 23 | = linux = |
| 24 | |
| 25 | 讓linux 支援 exfat 的方式 |
20 | 26 | |
21 | 27 | {{{ |
… |
… |
|
27 | 33 | }}} |
28 | 34 | |
| 35 | = 問題排除 = |
29 | 36 | |
30 | 37 | 不過陷阱在於,用mac mini server 選擇exfat 作格式化,似乎只有自己看得懂,安裝了patch的 windows 與 fuse-exfat 的linux 都無法讀取,一整個感覺良好。 |
| 38 | |
| 39 | 用windows 系統來掛載該檔案系統,輕則說無法掛載,嚴重的話可能導致系統出錯。 |
| 40 | |
| 41 | 如以下用linux 掛載 mac 用exfat 格式化後的檔案系統,會出現 invalid VBR checksum 的錯誤.... |
31 | 42 | |
32 | 43 | {{{ |
… |
… |
|
37 | 48 | |
38 | 49 | 以下經過用ubuntu 小小測試成功破解以上限制。 |
| 50 | |
39 | 51 | 到exfat的專案下,將 libexfat/mount.c 的 188~194 行註解,如下 |
| 52 | |
40 | 53 | {{{ |
41 | 54 | #!c |
… |
… |
|
51 | 64 | |
52 | 65 | 並重新執行 scons ; sudo scons install 即可 |
| 66 | |