diff --git a/tools/shell/templates/filesystem b/tools/shell/templates/filesystem new file mode 100644 index 0000000000..f3882c2d11 --- /dev/null +++ b/tools/shell/templates/filesystem @@ -0,0 +1,34 @@ +%name filesystem + +# Filesystem +# +# This template generates a single primitive resource of type +# Filesystem + +%required + +# The name of block device for the filesystem, or -U, -L +# options for mount, or NFS mount specification. +%% device + +# The mount point for the filesystem. +%% directory + +# The type of filesystem to be mounted. +%% fstype + +%optional + +# Any extra options to be given as -o options to mount. +# +# For bind mounts, add "bind" here and set fstype to "none". +# We will do the right thing for options such as "bind,ro". +%% options + +%generate + +primitive %_ ocf:heartbeat:Filesystem + params + device=%_:device + directory=%_:directory + fstype=%_:fstype