Add an e2e test for gce pd.

Add an example for gce pd.
Add an extra log message.
This commit is contained in:
Brendan Burns
2014-11-24 13:08:41 -08:00
parent 518115c93d
commit e1764e2e01
4 changed files with 109 additions and 1 deletions

View File

@@ -23,6 +23,8 @@ import (
"regexp"
"strings"
"syscall"
"github.com/golang/glog"
)
const MOUNT_MS_BIND = syscall.MS_BIND
@@ -32,6 +34,7 @@ type DiskMounter struct{}
// Wraps syscall.Mount()
func (mounter *DiskMounter) Mount(source string, target string, fstype string, flags uintptr, data string) error {
glog.V(5).Infof("Mounting %s %s %s %d %s", source, target, fstype, flags, data)
return syscall.Mount(source, target, fstype, flags, data)
}