Skip to content

Commit 50532d0

Browse files
committed
[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 <[email protected]>
1 parent 4436094 commit 50532d0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

config.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ The parameters are similar to the ones in [the Linux mount system call](http://m
4646
* **`destination`** (string, required) Destination of mount point: path inside container.
4747
* **`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
4848
* **`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)
49-
* **`options`** (list of strings, optional) in the fstab format [https://wiki.archlinux.org/index.php/Fstab](https://wiki.archlinux.org/index.php/Fstab).
49+
* **`options`** (list of strings, optional) in a platform-appropriate format for each operating system.
50+
* 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).
51+
* 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).
5052

5153
### Example (Linux)
5254

0 commit comments

Comments
 (0)