From 50532d0440149e273139577a25e714314184de00 Mon Sep 17 00:00:00 2001 From: "Rob Dolin (MSFT)" Date: Wed, 18 May 2016 11:51:03 -0700 Subject: [PATCH] [Config] Make mount options format per-platform The fstab format (https://wiki.archlinux.org/index.php/Fstab) may be appropriate for Linux, but may not be appropriate for other OS platforms. This edit clarifies that mount options for Linux (and Solaris per @jlb13) MUST be in fstab format but leaves the format of options as open for other operating systems to clarify. This replaces PR #432 Signed-off-by: Rob Dolin --- config.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config.md b/config.md index 5d88b2e7f..09f09757b 100644 --- a/config.md +++ b/config.md @@ -46,7 +46,9 @@ The parameters are similar to the ones in [the Linux mount system call](http://m * **`destination`** (string, required) Destination of mount point: path inside container. * **`type`** (string, required) Linux, *filesystemtype* argument supported by the kernel are listed in */proc/filesystems* (e.g., "minix", "ext2", "ext3", "jfs", "xfs", "reiserfs", "msdos", "proc", "nfs", "iso9660"). Windows: ntfs * **`source`** (string, required) a device name, but can also be a directory name or a dummy. Windows, the volume name that is the target of the mount point. \\?\Volume\{GUID}\ (on Windows source is called target) -* **`options`** (list of strings, optional) in the fstab format [https://wiki.archlinux.org/index.php/Fstab](https://wiki.archlinux.org/index.php/Fstab). +* **`options`** (list of strings, optional) in a platform-appropriate format for each operating system. + * For the Linux OS, if the options object is present, it MUST be in the fstab format [https://wiki.archlinux.org/index.php/Fstab](https://wiki.archlinux.org/index.php/Fstab). + * For the Solaris OS, if the options object is present, it MUST be in the the fstab format [https://wiki.archlinux.org/index.php/Fstab](https://wiki.archlinux.org/index.php/Fstab). ### Example (Linux)