1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/mount
Kir Kolyshkin f01297d1ae pkg/mount: simplify ensureMountedAs
1. There is no need to specify rw argument -- bind mounts are
   read-write by default.

2. There is no point in parsing /proc/self/mountinfo after performing
   a mount, especially if we don't check whether the fs is mounted or
   not -- the only outcome from it could be an error from our mountinfo
   parser, which makes no sense in this context.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2018-10-11 23:16:10 -07:00
..
flags.go Add canonical import comment 2018-02-05 16:51:57 -05:00
flags_freebsd.go Add canonical import comment 2018-02-05 16:51:57 -05:00
flags_linux.go Add canonical import comment 2018-02-05 16:51:57 -05:00
flags_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00
mount.go mount.Unmount(): don't look into /proc/self/mountinfo 2018-04-19 14:49:50 -07:00
mount_unix_test.go pkg/mount: implement/use filter for mountinfo parsing 2018-04-19 14:48:09 -07:00
mounter_freebsd.go Add canonical import comment 2018-02-05 16:51:57 -05:00
mounter_linux.go Add canonical import comment 2018-02-05 16:51:57 -05:00
mounter_linux_test.go pkg/mount/TestMount: fix wrt selinux 2018-05-22 23:30:47 -07:00
mounter_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00
mountinfo.go pkg/mount: use sort.Slice 2018-03-06 12:46:58 -08:00
mountinfo_freebsd.go pkg/mount: implement/use filter for mountinfo parsing 2018-04-19 14:48:09 -07:00
mountinfo_linux.go pkg/mount/mountinfo_linux: parser speed up 2018-04-19 14:49:42 -07:00
mountinfo_linux_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
mountinfo_unsupported.go pkg/mount: implement/use filter for mountinfo parsing 2018-04-19 14:48:09 -07:00
mountinfo_windows.go pkg/mount: implement/use filter for mountinfo parsing 2018-04-19 14:48:09 -07:00
sharedsubtree_linux.go pkg/mount: simplify ensureMountedAs 2018-10-11 23:16:10 -07:00
sharedsubtree_linux_test.go pkg/mount unit tests: skip some test under non-root 2018-03-06 12:37:27 -08:00