Skip to content

Commit

Permalink
Merge pull request quattor#144 from ned21/vxfs
Browse files Browse the repository at this point in the history
Add support for vxfs and zfs filesystem types
  • Loading branch information
jrha committed Jan 16, 2017
2 parents a3aef27 + 510cb38 commit f8b3524
Showing 1 changed file with 14 additions and 16 deletions.
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)
};

0 comments on commit f8b3524

Please sign in to comment.