Mount an OS X disk to the default location
npm install macmountmacmount
========
> Mount an OS X disk to the default location.



Installation
------------
Install macmount by running:
``sh`
$ npm install --save macmount
You can also install a macmount CLI tool with:
`sh`
$ npm install --global macmount
Documentation
-------------
) automatically.Kind: static method of macmount
Summary: Mount an OS X disk to the default location
Access: public
| Param | Type | Description |
| --- | --- | --- |
| disk | String | disk |
| callback | function | callback (error) |
Example
`js
var macmount = require('macmount');macmount.mount('/dev/disk2', function(error) {
if (error) {
throw error;
}
});
`Tests
-----
Run the test suite by doing:
`sh
$ npm test
`Development
-----------
macmount wraps a native command line utility that must be built with Xcode.If you make edits to the executable source make sure to build it afterwards with:
`sh
$ npm run build
`The command line utility can be used directly as follows:
`sh
$ ./bin/macmount disk
``Contribute
----------
- Issue Tracker: github.com/resin-io-modules/macmount/issues
- Source Code: github.com/resin-io-modules/macmount
Support
-------
If you're having any problem, please raise an issue
on GitHub and the Resin.io team will be happy to help.
License
-------
macmount is free software, and may be redistributed under the terms specified
in the license.