1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/graphdriver
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
..
aufs Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
btrfs Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
devmapper devicemapper: Don't mount in Create() 2014-04-23 13:50:53 +02:00
vfs Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
driver.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00