Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jacobsa-fuse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
jacobsa-fuse
Commits
171218ed
Commit
171218ed
authored
Nov 01, 2017
by
baul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add fuse mount subtype to mountconfig
parent
1ab97fb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
mount_config.go
mount_config.go
+7
-0
No files found.
mount_config.go
View file @
171218ed
...
@@ -142,6 +142,8 @@ type MountConfig struct {
...
@@ -142,6 +142,8 @@ type MountConfig struct {
// For expert use only! May invalidate other guarantees made in the
// For expert use only! May invalidate other guarantees made in the
// documentation for this package.
// documentation for this package.
Options
map
[
string
]
string
Options
map
[
string
]
string
SubType
string
}
}
// Create a map containing all of the key=value mount options to be given to
// Create a map containing all of the key=value mount options to be given to
...
@@ -173,6 +175,11 @@ func (c *MountConfig) toMap() (opts map[string]string) {
...
@@ -173,6 +175,11 @@ func (c *MountConfig) toMap() (opts map[string]string) {
opts
[
"fsname"
]
=
fsname
opts
[
"fsname"
]
=
fsname
}
}
subtype
:=
c
.
SubType
if
subtype
!=
""
{
opts
[
"subtype"
]
=
subtype
}
// Read only?
// Read only?
if
c
.
ReadOnly
{
if
c
.
ReadOnly
{
opts
[
"ro"
]
=
""
opts
[
"ro"
]
=
""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment