gopkg.in/dotcloud/docker.v1@v1.13.1/daemon/graphdriver/overlayutils/overlayutils.go (about) 1 // +build linux 2 3 package overlayutils 4 5 import ( 6 "errors" 7 "fmt" 8 ) 9 10 // ErrDTypeNotSupported denotes that the backing filesystem doesn't support d_type. 11 func ErrDTypeNotSupported(driver, backingFs string) error { 12 msg := fmt.Sprintf("%s: the backing %s filesystem is formatted without d_type support, which leads to incorrect behavior.", driver, backingFs) 13 if backingFs == "xfs" { 14 msg += " Reformat the filesystem with ftype=1 to enable d_type support." 15 } 16 msg += " Running without d_type support will no longer be supported in Docker 1.16." 17 return errors.New(msg) 18 }