Skip to content

Commit

Permalink
[Config] Make mount options format per-platform
Browse files Browse the repository at this point in the history
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 opencontainers#432

Signed-off-by: Rob Dolin <RobDolin@microsoft.com>
  • Loading branch information
RobDolinMS committed May 18, 2016
1 parent 4436094 commit 50532d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 50532d0

Please sign in to comment.