1
0
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:
Paul Robello 2021-03-02 21:06:44 -08:00 committed by GitHub
parent 8a13b2344f
commit 1e8a7fc104
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -193,6 +193,7 @@ class Fuse extends Nanoresource {
if (this.opts.remember) options.push('remember=' + this.opts.remember)
if (this.opts.modules) options.push('modules=' + this.opts.modules)
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
options.push('volname=' + path.basename(this.opts.name || this.mnt))