MAC 加载 EXT2/EXT3

很多书上都写到了如何在mac里面加载NTFS格式的硬盘, 但是很少提到如何在mac里面加载ext3格式. 目前有两种方式.

1. 下载Mac OS X Ext2 Filesystem, 刚方法似乎在雪豹中无法使用, 或者在不久的将来就能被解决了, 这样就可以用linux里面的mount命令来挂载ext2格式的硬盘了, 注意ext3格式也是使用这个命令.

1. cd ~
2. mkdir linux
3. sudo mount -t ext2 /dev/disk1s11 ~/linux

2. 如果安装了MacFuse, 再安装 fuse-ext2插件就可以了, 不过这个在雪豹64位模式下无法使用, 只能在32模式下使用, 自动加载的linux卷宗是只读模式的, 如果需要可以模式那么需要推出该分区,然后通过命令行来挂载.

$ sudo /usr/local/bin/fuse-ext2 -v /dev/path /mnt/point -o debug

说明:

$ fuse-ext2 <device|image> <mountpoint> [-o option[,...]]
options:
ro : mount read only
force: mount read/write
allow_others: allow other users to access
debug: noisy debug output

苹果快捷键

原文应该是来自Apple4.us.

苹果快捷键

Show MKV in QuickLook

I’ve found a trick allowing me to display Matroska video files in Quicklook without the need of a plugin :

1 / First you need Perian for mkv support in Quicktime : http://perian.org/

2 / Then you need to add a Uniform Type Identifier in Quicktime Player :
- Edit QuickTime Player.app’s /Contents/info.plist
- Add the following code just before the last 2 tags </dict></plist> :
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.movie</string>
</array>
<key>UTTypeDescription</key>
<string>Matroska Video File</string>
<key>UTTypeIconName</key>
<string>generic</string>
<key>UTTypeIdentifier</key>
<string>com.apple.quicktime.mkv</string>
<key>UTTypeReferenceURL</key>
<string>http://www.matroska.org/</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>mkv</string>
</array>
</dict>
</dict>
</array>

3 / In Terminal.app
touch /Applications/QuickTime\ Player.app

M6和苹果电脑链接的临时解决方案

1. M6开机连接到Mac上面

2. 如果M6被挂起了请软重启>|| + >>|

3.下载一个空白的文件夹包. 解压

4. 打开磁盘工具. 将M6用MS-DOS擦除, 并起个名字如M6.

5. 复制音乐文件到M6中

6. 打开终端. cd /Volumes/M6. 运行rm -f .* 删除所有以点号开头的隐藏文件

7. 在连接的状态将M6关机

8. 移除M6

9. 开机. 可能需要很长时间. 不过没有关系.

缺点. 每次重连的时候都需要按以上操作.  所以一次把需要的文件都拷入.

本人测试一次 没有成功

Sync with Ovi

You can make the necessary synchronization settings for your device manually by following the instructions below:

Go to Sync menu on your device
Usually the Sync menu is found from Menu grid/Tools or under Menu grid/Settings depending on your device.

Select and open “Sync” icon from the grid
Press Options an select “New sync profile” from the opened view. DO NOT copy values from other profile.

Name the new profile or use the default name
Select and open “Sync profile name” list item. Write the name to the opened text input field.

Select and open “Applications” list item
Open each desired application from the list in turn.From the opened submenu, switch “Yes”, if you want to synchronize the opened application. Set(write) the Remote Database as listed below for each application:
for Contacts: ./Contact/Unfiled
for Calendar: ./EventTask/Tasks
for Notes: ./Note/Unfiled
Set “Synchronization type” for each desired application to be “normal” or “both ways” (depending on the device).

Select and open “Connections settings” from the Sync profile list
Set or write (depending on the setting) the following values:
Server version: Leave the default value
Server ID: Leave the default name
Data Bearer: Internet
Access point: Chose the internet access point
Host address: https://sync.ovi.com/services/syncml
Port: 443
User name: username
Password: you encode password not your ovi’s password.
you will see this password from the page or your SMS. if you didn’t get this password don’t worried, you can click manage your device and sent setting then click manully you will got this page and password.
Allow sync requests: Leave the default value
Accept all sync reqs.: Leave the default value
Network authentication: This setting depends on the details of your data connectivity service. If you select “Yes”, you have to fill also your Nokia account username and password

You have now done your sync settings for your device. To synchronize your device go back to the sync instructions screen by pressing the button below.

Can’t Eject a Disk? Find Which Files are Open.

 The original page link. Sometime I found if the problem cann’t be solved using Chinese search enginer, may can use English.

GREP-LSOF-Terminal.png

Have you ever tried to eject a disk or shared server, only to be told that it could not be ejected because a file was in use on that disk? How annoying.

Here is a terminal command that generates a list of all the files open on that specific drive.
lsof | grep /Volumes/Workspace
Note: You must replace /Volumes/Workspace with the path to the specific drive that is refusing to eject.