Cross platform mount related utilities
mountutils by running:
$ npm install --save mountutils
You can enable debug mode by setting the
Kind: static method of
Summary: Unmount a whole disk
// macOSconst drive = '/dev/disk2';// GNU/Linuxconst drive = '/dev/sdb';// Windowsconst drive = '\\\\.\\PHYSICALDRIVE2';mountutils;
If you're having any problem, please raise an issue on GitHub and the Resin.io team will be happy to help.
Run the test suite by doing:
$ npm test
error C2373: '__pfnDliNotifyHook2': redefinition
This error indicates that the version of npm you're running is too old. Upgrade by running:
npm install -g npm@latest
See the following
node-gyp issue for more details.
- Issue Tracker: github.com/resin-io-modules/mountutils/issues
- Source Code: github.com/resin-io-modules/mountutils
Before submitting a PR, please make sure that you include tests, and that linters run without any warning:
$ npm run lint
The project is licensed under the Apache 2.0 license.