We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe7f3a5 commit 679b527Copy full SHA for 679b527
1 file changed
mount_config.go
@@ -134,6 +134,7 @@ type MountConfig struct {
134
// The name of the mounted volume, as displayed in the Finder. If empty, a
135
// default name involving the string 'osxfuse' is used.
136
VolumeName string
137
+ SubType string
138
139
// Additional key=value options to pass unadulterated to the underlying mount
140
// command. See `man 8 mount`, the fuse documentation, etc. for
@@ -173,6 +174,10 @@ func (c *MountConfig) toMap() (opts map[string]string) {
173
174
opts["fsname"] = fsname
175
}
176
177
+ subtype := c.SubType
178
+ if subtype != "" {
179
+ opts["subtype"] = subtype
180
+ }
181
// Read only?
182
if c.ReadOnly {
183
opts["ro"] = ""
0 commit comments