Skip to content

Commit faec82c

Browse files
authored
Merge pull request #821 from jhowardmsft/clarifymountntfs
Windows - correct mounts
2 parents 4aed614 + 861eb5b commit faec82c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

config.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ For example, if a configuration is compliant with version 1.1 of this specificat
4949
The runtime MUST mount entries in the listed order.
5050
For Linux, the parameters are as documented in [mount(2)][mount.2] system call man page.
5151
For Solaris, the mount entry corresponds to the 'fs' resource in the [zonecfg(1M)][zonecfg.1m] man page.
52-
For Windows, see [mountvol][mountvol] and [SetVolumeMountPoint][set-volume-mountpoint] for details.
5352

5453

5554
* **`destination`** (string, REQUIRED) Destination of mount point: path inside container.
@@ -58,10 +57,10 @@ For Windows, see [mountvol][mountvol] and [SetVolumeMountPoint][set-volume-mount
5857
* Solaris: corresponds to "dir" of the fs resource in [zonecfg(1M)][zonecfg.1m].
5958
* **`type`** (string, OPTIONAL) The filesystem type of the filesystem to be mounted.
6059
* Linux: valid *filesystemtype* supported by the kernel as listed in */proc/filesystems* (e.g., "minix", "ext2", "ext3", "jfs", "xfs", "reiserfs", "msdos", "proc", "nfs", "iso9660").
61-
* Windows: the type of file system on the volume, e.g. "ntfs".
60+
* Windows: this field MUST NOT be supplied.
6261
* Solaris: corresponds to "type" of the fs resource in [zonecfg(1M)][zonecfg.1m].
6362
* **`source`** (string, OPTIONAL) A device name, but can also be a directory name or a dummy.
64-
* Windows: the volume name that is the target of the mount point, \\?\Volume\{GUID}\ (on Windows source is called target).
63+
* Windows: a local directory on the filesystem of the container host. UNC paths and mapped drives are not supported.
6564
* Solaris: corresponds to "special" of the fs resource in [zonecfg(1M)][zonecfg.1m].
6665
* **`options`** (list of strings, OPTIONAL) Mount options of the filesystem to be used.
6766
* Linux: supported options are listed in the [mount(8)][mount.8] man page. Note both [filesystem-independent][mount.8-filesystem-independent] and [filesystem-specific][mount.8-filesystem-specific] options are listed.
@@ -91,9 +90,8 @@ For Windows, see [mountvol][mountvol] and [SetVolumeMountPoint][set-volume-mount
9190
```json
9291
"mounts": [
9392
{
94-
"destination": "C:\\Users\\crosbymichael\\My Fancy Mount Point\\",
95-
"type": "ntfs",
96-
"source": "\\\\?\\Volume\\{2eca078d-5cbc-43d3-aff8-7e8511f60d0e}\\",
93+
"destination": "C:\\folder-inside-container",
94+
"source": "C:\\folder-on-host",
9795
"options": []
9896
}
9997
]

0 commit comments

Comments
 (0)