Files
containerd/pkg
Amit Barve bfde58e3cd Bug fix for mount path handling
Currently when handling 'container_path' elements in container mounts we simply call
filepath.Clean on those paths. However, filepath.Clean adds an extra '.' if the path is a
simple drive letter ('E:' or 'Z:' etc.). These type of paths cause failures (with incorrect
parameter error) when creating containers via hcsshim. This commit checks for such paths
and doesn't call filepath.Clean on them.
It also adds a new check to error out if the destination path is a C drive and moves the
dst path checks out of the named pipe condition.

Signed-off-by: Amit Barve <ambarve@microsoft.com>
2022-03-21 09:40:19 -07:00
..
2020-04-22 19:35:37 -05:00
2022-03-21 09:40:19 -07:00
2019-07-14 20:49:40 -07:00
2021-08-22 09:31:50 +09:00
2021-08-22 09:31:50 +09:00
2021-11-16 11:06:40 +08:00
2021-08-22 09:31:50 +09:00