Node.js library to prevent automatic mounting of specific disks on Mac OS X. For Mac OS X >= 10.9.
denymount by running:
$ npm install --save denymount
denymount~denymount(disk, handler, [options], callback)
Kind: inner method of
Summary: Prevent automatic mounting of an OS X disk
||auto-mount on success|
||alternative path to the
Run the test suite by doing:
$ npm test
denymount wraps a native command line utility that must be built with Xcode 7.
If you make edits to the executable source make sure to build it afterwards with:
$ npm run build
This will build and place the compiled executable in the bin folder.
The command line utility can be used directly as follows:
$ ./bin/denymount diskName
The programme will keep running until you hit
SIGTERM if sent to background).
- Issue Tracker: github.com/resin-io-modules/denymount/issues
- Source Code: github.com/resin-io-modules/denymount
If you're having any problem, please raise an issue on GitHub and the Resin.io team will be happy to help.
denymount is free software, and may be redistributed under the terms specified in the license.