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."
16 msg += " Running without d_type support will no longer be supported in Docker 17.12."
17 return errors.New(msg)