diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-05-31 04:15:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-31 04:15:31 +0200 |
commit | 88b7a221a2303f1b1b6664a07b3aafd7d037307b (patch) | |
tree | f57d8ad6d2b5b6506ff947d39053be49088a1211 /pkg/spec | |
parent | b5b461ac28629c95795f0dee3fc6c804f2a47186 (diff) | |
parent | c520e34ea7e738af6a39f00e6e24321546557730 (diff) | |
download | podman-88b7a221a2303f1b1b6664a07b3aafd7d037307b.tar.gz podman-88b7a221a2303f1b1b6664a07b3aafd7d037307b.tar.bz2 podman-88b7a221a2303f1b1b6664a07b3aafd7d037307b.zip |
Merge pull request #3238 from mheon/no_tmpcopyup_dev
Do not set tmpcopyup on /dev
Diffstat (limited to 'pkg/spec')
-rw-r--r-- | pkg/spec/storage.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/spec/storage.go b/pkg/spec/storage.go index dcc149b55..e221b5cb5 100644 --- a/pkg/spec/storage.go +++ b/pkg/spec/storage.go @@ -797,7 +797,7 @@ func initFSMounts(inputMounts []spec.Mount) []spec.Mount { if m.Type == TypeBind { m.Options = util.ProcessOptions(m.Options) } - if m.Type == TypeTmpfs { + if m.Type == TypeTmpfs && filepath.Clean(m.Destination) != "/dev" { m.Options = append(m.Options, "tmpcopyup") } mounts = append(mounts, m) |