Skip to content

Commit 7c5796d

Browse files
committed
Make mount type and source optional
These are optional on multiple platforms and should be left up to the runtime/host system for validation. Closes #470 Signed-off-by: Michael Crosby <[email protected]>
1 parent ae7a541 commit 7c5796d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ For Windows, see links for details about [mountvol](http://ss64.com/nt/mountvol.
5757
This value MUST be an absolute path.
5858
* Windows: one mount destination MUST NOT be nested within another mount (e.g., c:\\foo and c:\\foo\\bar).
5959
* Solaris: corresponds to "dir" of the fs resource in zonecfg(8).
60-
* **`type`** (string, REQUIRED) The filesystem type of the filesystem to be mounted.
60+
* **`type`** (string, OPTIONAL) The filesystem type of the filesystem to be mounted.
6161
* Linux: valid *filesystemtype* supported by the kernel as listed in */proc/filesystems* (e.g., "minix", "ext2", "ext3", "jfs", "xfs", "reiserfs", "msdos", "proc", "nfs", "iso9660").
6262
* Windows: the type of file system on the volume, e.g. "ntfs".
6363
* Solaris: corresponds to "type" of the fs resource in zonecfg(8).
64-
* **`source`** (string, REQUIRED) A device name, but can also be a directory name or a dummy.
64+
* **`source`** (string, OPTIONAL) A device name, but can also be a directory name or a dummy.
6565
* Windows: the volume name that is the target of the mount point, \\?\Volume\{GUID}\ (on Windows source is called target).
6666
* Solaris: corresponds to "special" of the fs resource in zonecfg(8).
6767
* **`options`** (list of strings, OPTIONAL) Mount options of the filesystem to be used.

0 commit comments

Comments
 (0)