Myzel394 73de4ca319 Add more mount options to common-documentation
Related to #1

Add documentation for adfs, affs, and debugfs filesystem mount options.

* **common-documentation/filesystems/mountoptions/adfs.go**
  - Add documentation for adfs filesystem options including uid, gid, ownmask, and othmask.

* **common-documentation/filesystems/mountoptions/affs.go**
  - Add documentation for affs filesystem options including uid, gid, setuid, setgid, mode, and other options.

* **common-documentation/filesystems/mountoptions/debugfs.go**
  - Add documentation for debugfs filesystem options including uid, gid, and mode.

* **handlers/fstab/documentation/documentation-mountoptions.go**
  - Update to include the new mount options for adfs, affs, and debugfs filesystems.
  - Add entries for adfs, affs, and debugfs in the `MountOptionsMapField`.

* **common.go**
  - Add common constants like "zero" to common-documentation/filesystems/mountoptions/common.go.
2024-08-05 23:01:28 +02:00

23 lines
753 B
Go

package commondocumentation
import docvalues "config-lsp/doc-values"
var AdfsDocumentationAssignable = map[docvalues.EnumString]docvalues.Value{
docvalues.CreateEnumStringWithDoc(
"uid",
"Set the owner of the files in the filesystem (default: uid=0).",
): docvalues.PositiveNumbeValue(),
docvalues.CreateEnumStringWithDoc(
"gid",
"Set the group of the files in the filesystem (default: gid=0).",
): docvalues.PositiveNumbeValue(),
docvalues.CreateEnumStringWithDoc(
"ownmask",
"Set the permission mask for ADFS 'owner' permissions (default: 0700).",
): docvalues.StringValue{},
docvalues.CreateEnumStringWithDoc(
"othmask",
"Set the permission mask for ADFS 'other' permissions (default: 0077).",
): docvalues.StringValue{},
}