-
Notifications
You must be signed in to change notification settings - Fork 280
Expand file tree
/
Copy pathpaths.go
More file actions
43 lines (42 loc) · 1.85 KB
/
paths.go
File metadata and controls
43 lines (42 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package guestpath
const (
// LCOWRootPrefixInUVM is the path inside UVM where LCOW container's root
// file system will be mounted
LCOWRootPrefixInUVM = "/run/gcs/c"
// WCOWRootPrefixInUVM is the path inside UVM where WCOW container's root
// file system will be mounted
WCOWRootPrefixInUVM = `C:\c`
// SandboxMountPrefix is mount prefix used in container spec to mark a
// sandbox-mount
SandboxMountPrefix = "sandbox://"
// SandboxTmpfsMountPrefix is mount prefix used in container spec to mark a
// sandbox-tmp mount
SandboxTmpfsMountPrefix = "sandbox-tmp://"
// HugePagesMountPrefix is mount prefix used in container spec to mark a
// huge-pages mount
HugePagesMountPrefix = "hugepages://"
// BlockDevMountPrefix is mount prefix used in container spec to mark a
// block-device mount.
BlockDevMountPrefix = "blockdev://"
// UVMMountPrefix is mount prefix used in container spec to mark a UVM mount
// into container.
UVMMountPrefix = "uvm://"
// PipePrefix is the mount prefix used in container spec to mark a named pipe
PipePrefix = `\\.\pipe`
// LCOWMountPathPrefixFmt is the path format in the LCOW UVM where
// non-global mounts, such as Plan9 mounts are added
LCOWMountPathPrefixFmt = "/mounts/m%d"
// LCOWGlobalScsiMountPrefixFmt is the path format in the LCOW UVM where
// global desk mounts are added
LCOWGlobalScsiMountPrefixFmt = "/run/mounts/scsi/m%d"
// LCOWGlobalDriverPrefixFmt is the path format in the LCOW UVM where drivers
// are mounted as read/write
LCOWGlobalDriverPrefixFmt = "/run/drivers/%s"
// WCOWGlobalScsiMountPrefixFmt is the path prefix format in the WCOW UVM
// where global desk mounts are added
WCOWGlobalScsiMountPrefixFmt = `c:\mounts\scsi\m%d`
// RootfsPath is part of the container's rootfs path
RootfsPath = "rootfs"
// ScratchDir is the name of the directory used for overlay upper and work
ScratchDir = "scratch"
)