...

Source file src/github.com/Microsoft/hcsshim/internal/guestpath/paths.go

Documentation: github.com/Microsoft/hcsshim/internal/guestpath

     1  package guestpath
     2  
     3  const (
     4  	// LCOWNvidiaMountPath is the path format in LCOW UVM where nvidia tools
     5  	// are mounted keep this value in sync with opengcs
     6  	LCOWNvidiaMountPath = "/run/nvidia"
     7  	// LCOWRootPrefixInUVM is the path inside UVM where LCOW container's root
     8  	// file system will be mounted
     9  	LCOWRootPrefixInUVM = "/run/gcs/c"
    10  	// WCOWRootPrefixInUVM is the path inside UVM where WCOW container's root
    11  	// file system will be mounted
    12  	WCOWRootPrefixInUVM = `C:\c`
    13  	// SandboxMountPrefix is mount prefix used in container spec to mark a
    14  	// sandbox-mount
    15  	SandboxMountPrefix = "sandbox://"
    16  	// HugePagesMountPrefix is mount prefix used in container spec to mark a
    17  	// huge-pages mount
    18  	HugePagesMountPrefix = "hugepages://"
    19  	// PipePrefix is the mount prefix used in container spec to mark a named pipe
    20  	PipePrefix = `\\.\pipe`
    21  	// LCOWMountPathPrefixFmt is the path format in the LCOW UVM where
    22  	// non-global mounts, such as Plan9 mounts are added
    23  	LCOWMountPathPrefixFmt = "/mounts/m%d"
    24  	// LCOWGlobalMountPrefixFmt is the path format in the LCOW UVM where global
    25  	// mounts are added
    26  	LCOWGlobalMountPrefixFmt = "/run/mounts/m%d"
    27  	// LCOWGlobalDriverPrefixFmt is the path format in the LCOW UVM where drivers
    28  	// are mounted as read/write
    29  	LCOWGlobalDriverPrefixFmt = "/run/drivers/%s"
    30  	// WCOWGlobalMountPrefixFmt is the path prefix format in the WCOW UVM where
    31  	// mounts are added
    32  	WCOWGlobalMountPrefixFmt = "C:\\mounts\\m%d"
    33  	// RootfsPath is part of the container's rootfs path
    34  	RootfsPath = "rootfs"
    35  )
    36  

View as plain text