1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon
Alexander Larsson 73d9ede12c devicemapper: Don't mount in Create()
We used to mount in Create() to be able to create a few files that
needs to be in each device. However, this mount is problematic for
selinux, as we need to set the mount label at mount-time, and it
is not known at the time of Create().

This change just moves the file creation to first Get() call and
drops the mount from Create(). Additionally, this lets us remove
some complexities we had to avoid an extra unmount+mount cycle.

Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
2014-04-23 13:50:53 +02:00
..
execdriver Merge branch 'master' into load-profile 2014-04-21 10:32:13 -07:00
graphdriver devicemapper: Don't mount in Create() 2014-04-23 13:50:53 +02:00
networkdriver Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
container.go Remove IsGhost checks around networking 2014-04-17 23:49:59 +00:00
container_unit_test.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon_aufs.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon_btrfs.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon_devicemapper.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon_no_aufs.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
history.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
network_settings.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
server.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
sorter.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
state.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
utils.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
utils_test.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
volumes.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00