I have been given a Mac to repair after a failed update, and may not be able to get reliable information about which update was being applied, or, indeed, to which operating system. If the system would boot, it'd be obvious which OS it was running, and could easily be confirmed by running sw_vers or going to "About This Mac".
How can I determine which version of OS X this box has on it, by looking at the filesystem in target disk mode?