moby--moby/daemon/graphdriver/devmapper
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
..
attach_loopback.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
deviceset.go devicemapper: Don't mount in Create() 2014-04-23 13:50:53 +02:00
devmapper.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
devmapper_doc.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
devmapper_log.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
devmapper_test.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
devmapper_wrapper.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
driver.go devicemapper: Don't mount in Create() 2014-04-23 13:50:53 +02:00
driver_test.go devicemapper: Don't mount in Create() 2014-04-23 13:50:53 +02:00
ioctl.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
mount.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
sys.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00