mirror of
https://github.com/fuse-friends/fuse-native
synced 2024-10-27 18:34:01 +00:00
Added dev option
Added dev option to enable adding dev to mount options sent to fuse.
This commit is contained in:
parent
8a13b2344f
commit
1e8a7fc104
1
index.js
1
index.js
@ -193,6 +193,7 @@ class Fuse extends Nanoresource {
|
|||||||
if (this.opts.remember) options.push('remember=' + this.opts.remember)
|
if (this.opts.remember) options.push('remember=' + this.opts.remember)
|
||||||
if (this.opts.modules) options.push('modules=' + this.opts.modules)
|
if (this.opts.modules) options.push('modules=' + this.opts.modules)
|
||||||
if (this.opts.useIno) options.push('use_ino')
|
if (this.opts.useIno) options.push('use_ino')
|
||||||
|
if (this.opts.dev) options.push('dev')
|
||||||
|
|
||||||
if (this.opts.displayFolder && IS_OSX) { // only works on osx
|
if (this.opts.displayFolder && IS_OSX) { // only works on osx
|
||||||
options.push('volname=' + path.basename(this.opts.name || this.mnt))
|
options.push('volname=' + path.basename(this.opts.name || this.mnt))
|
||||||
|
Loading…
Reference in New Issue
Block a user