Skip to content

Commit

Permalink
Merge pull request kata-containers#294 from jodh-intel/vc-reduce-path…
Browse files Browse the repository at this point in the history
…-lengths

virtcontainers: Reduce path lengths
  • Loading branch information
Eric Ernst authored May 10, 2018
2 parents 0c489d3 + 6a47808 commit 91e9ed0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion virtcontainers/filesystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ const devicesFile = "devices.json"
const dirMode = os.FileMode(0750) | os.ModeDir

// storagePathSuffix is the suffix used for all storage paths
const storagePathSuffix = "/virtcontainers/sandboxes"
//
// Note: this very brief path represents "virtcontainers sandboxes". It is as
// terse as possible to minimise path length.
const storagePathSuffix = "/vc/sbs"

// configStoragePath is the sandbox configuration directory.
// It will contain one config.json file for each created sandbox.
Expand Down

0 comments on commit 91e9ed0

Please sign in to comment.