LoonSoft LLC

Home‎ > ‎

Announcements


Inspect Mercurial Bundles

posted Mar 9, 2010 7:29 AM by McClain Looney   [ updated Mar 9, 2010 7:38 AM ]

The Mercurial DSCCM tool has the ability to create, read and apply "bundles". Bundles are files containing compressed Mercurial changesets (including any binary content).  Bundles are useful for transferring changesets between disconnected, or intermittently connected repositories.

Often, it's a good idea to inspect the bundle contents before unbundling. Mercurial treats a bundle as a repository in and of itself, and therefore it's possible to see the log entries in a bundle thusly:

    hg -R ~/path/to_bundle.hg outgoing

When executed from within a working copy, the command will show a summary of the changesets contained within the bundle, but not contained in the working copy.

Mount .iso images in osx

posted Feb 11, 2010 7:31 PM by McClain Looney

For some reason, osx doesn't magically mount .iso images (i.e. dvd or cdrom backups).  

Fortunately, you can use the following:

    /usr/libexec/vndevice attach /dev/vn0 image.iso && mount_cd9660 /dev/vn0 /your/mountpoint

You will find the contents of the iso image in /your/mountpoint
    
    

Convert OSX DMG files to dd/img files

posted Feb 11, 2010 7:27 PM by McClain Looney

osx .dmg files can be easily converted to raw disk dumps (for use with the venerable dd) thusly:

    hdiutil convert -format UDTO -o new.dd original.dmg

Then you can 'burn' the image onto a thumbdrive or the like:

    dd if=./new.dd of=/dev/disk2 bs=2m

Note that if you get the output file parameter wrong, you run the risk of overwriting something you might not want to, like your boot disk.

It's official

posted Sep 27, 2009 1:57 PM by McClain Looney

It's finally official, I'm far too busy to manage running a personal Linux wunderland. LoonSoft.com now lives on Google Sites, and I have to say it's a relief.    

‹ Prev    1-4 of 4    Next ›