When Dave Dribin pointed out the new Objective-C wrapper for MacFUSE, I took a quick look at its interface. It’s super-nice and easy to use from Nu. As a quick demo, I ported one of the MacFUSE examples to Nu and then modified it to create a read-only filesystem based on nested dictionaries.
The code is in the NuFUSE.git repository at code.neontology.com. To run it, you’ll need to install the lastest MacFUSE and use a Nu that you’ve built from my git repository. Leopard-only.
UPDATE
After Bill Bumgarner released his nifty RuntimeFS for viewing classes in the Objective-C runtime, I decided to try the same thing with Nu. The result is objcfs, a single-file nush script that implements a file system as a daemon. As a bonus, objcfs also shows class and instance method descriptions.


Comment on this post ↓
Leave a Comment (sign in with Twitter)