Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for vxfs and zfs filesystem types #144

Merged
merged 2 commits into from Jan 16, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
30 changes: 14 additions & 16 deletions quattor/filesystems.pan
Expand Up @@ -31,21 +31,19 @@ function filesystems_uniq_paths = {
Filestystem definition
}
type structure_filesystem = {
"block_device" : string with exists ("/system/blockdevices/" + SELF)
# "References an entry in /software/components/blockdevices"
"format" : boolean
"preserve" : boolean
"mountpoint" : string
"mount" : boolean
"mountopts" : string = "defaults" # "Mount options"
"type" : string with match (SELF,
"^(ext[2-4]|reiserfs|reiser4|xfs|swap|vfat|jfs|ntfs|tmpfs|none)$")
# "Filesystem type."
"quota" ? long # "Quota percentage"
"freq" : long = 0 # "Dump frequency"
"pass" : long = 0 # "fsck pass number"
"mkfsopts" ? string # Extra options passed to mkfs.
"tuneopts" ? string # Options for filesystem tuning commands (tune2fs, xfs_admin...)
"label" ? string # Filesystem label, as in LABEL=foo
"block_device" : string with exists ("/system/blockdevices/" + SELF)
# "References an entry in /software/components/blockdevices"
"format" : boolean
"preserve" : boolean
"mountpoint": string
"mount" : boolean
"mountopts" : string = "defaults" # "Mount options"
"type" : string with match (SELF, "^(ext[2-4]|reiserfs|reiser4|xfs|swap|vfat|jfs|ntfs|tmpfs|vxfs|zfs|none)$") # "Filesystem type."
"quota" ? long # "Quota percentage"
"freq" : long = 0 # "Dump frequency"
"pass" : long = 0 # "fsck pass number"
"mkfsopts" ? string # Extra options passed to mkfs.
"tuneopts" ? string # Options for filesystem tuning commands (tune2fs, xfs_admin...)
"label" ? string # Filesystem label, as in LABEL=foo
"ksfsformat" ? boolean # If true, anaconda formats the filesystem (with undef/false, --noformat is used)
};