Posts

Showing posts with the label Mac

[ Level 1 ] Ubuntu tools for Mac OS.

Here are some useful tools for Mac OS. $ apt-cache search hfs hfsplus - Tools to access HFS+ formatted volumes hfsutils - Tools for reading and writing Macintosh volumes libhfsp-dev - Library to access HFS+ formatted volumes libhfsp0 - Shared library to access HFS+ formatted volumes squashfs-tools - Tool to create and append to squashfs filesystems squashfs-tools-dbg - Tool to create and append to squashfs filesystems (debug) dmg2img - Tool for converting compress dmg files to hfsplus images hfsprogs - mkfs and fsck for HFS and HFS+ file systems hfsutils-tcltk - Tcl/Tk interfaces for reading and writing Macintosh volumes libhfstdc++6-4.6-dbg-armel-cross - GNU Standard C++ Library v3 (debugging files) libhfstdc++6-armel-cross - GNU Standard C++ Library v3 (hard float ABI) rdiff-backup-fs - Fuse filesystem for accessing rdiff-backup archives $ sudo apt-get -y install hfsplus hfsutils hfsprogs $ sudo apt-get -y install dmg2img Other packages for hfs: $ apt-cache search s...

[Level 2] ZFS and DTrace in Mac.

My friend who use Mac OS X, and told me that the Mac OS X support ZFS and DTrace. It surprises me! ZFS and DTrace is the new feature of Solaris 10, of course, OpenSolaris also has these two features, too. So I try the ZFS and DTrace on Mac immediately. After test, I have the two following conclusions. 1. Mac support ZFS but for read only, so Mac cannot modify ZFS. That's so pity. The primary reason that I love ZFS just because I can have snapshot, clone. Readonly, is not the impression that I know about ZFS. 2. In OpenSolaris, it has over 60K probes(use command to check how many probes your system has, "/usr/sbin/dtrace -l | wc -l"), so I can detect the system behavior. But when I use the command, I found out the Mac OS only have just over 20K probes, just the 1/3 of OpenSolaris. And I try the D-script, it does work. That's a good gift that all Mac fans should to cherish. Really, because DTrace can be used for online debug, performance and you do not need to modify...