2.1.0 • Published 3 months ago

@vates/fuse-vhd v2.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 months ago

@vates/fuse-vhd

Package Version License PackagePhobia Node compatibility

Install

Installation of the npm package:

npm install --save @vates/fuse-vhd

Usage

Mount a vhd generated by xen-orchestra to filesystem

Library

import { mount } from 'fuse-vhd'

// return a disposable, see promise-toolbox/Disposable
// unmount automatically when disposable is disposed
// in case of differencing VHD, it mounts the full chain
await mount(handler, diskId, mountPoint)

cli

From the install folder :

cli.mjs <remoteUrl> <vhdPathInRemote> <mountPoint>

After installing the package

xo-fuse-vhd <remoteUrl> <vhdPathInRemote> <mountPoint>

remoteUrl can be found by using cli in @xen-orchestra/fs , for example a local remote will have a url like file:///path/to/remote/root

Contributions

Contributions are very welcomed, either on the documentation or on the code.

You may:

  • report any issue you've encountered;
  • fork and create a pull request.

License

ISC © Vates SAS