|
@@ -281,18 +281,6 @@ func fillDriverWarnings(v *types.Info) {
|
|
v.Warnings = append(v.Warnings, msg)
|
|
v.Warnings = append(v.Warnings, msg)
|
|
continue
|
|
continue
|
|
}
|
|
}
|
|
- if pair[0] == "Supports d_type" && pair[1] == "false" {
|
|
|
|
- backingFs := getBackingFs(v)
|
|
|
|
-
|
|
|
|
- msg := fmt.Sprintf("WARNING: %s: the backing %s filesystem is formatted without d_type support, which leads to incorrect behavior.\n", v.Driver, backingFs)
|
|
|
|
- if backingFs == "xfs" {
|
|
|
|
- msg += " Reformat the filesystem with ftype=1 to enable d_type support.\n"
|
|
|
|
- }
|
|
|
|
- msg += " Running without d_type support will not be supported in future releases."
|
|
|
|
-
|
|
|
|
- v.Warnings = append(v.Warnings, msg)
|
|
|
|
- continue
|
|
|
|
- }
|
|
|
|
if pair[0] == "Extended file attributes" && pair[1] == "best-effort" {
|
|
if pair[0] == "Extended file attributes" && pair[1] == "best-effort" {
|
|
msg := fmt.Sprintf("WARNING: %s: extended file attributes from container images "+
|
|
msg := fmt.Sprintf("WARNING: %s: extended file attributes from container images "+
|
|
"will be silently discarded if the backing filesystem does not support them.\n"+
|
|
"will be silently discarded if the backing filesystem does not support them.\n"+
|
|
@@ -305,15 +293,6 @@ func fillDriverWarnings(v *types.Info) {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-func getBackingFs(v *types.Info) string {
|
|
|
|
- for _, pair := range v.DriverStatus {
|
|
|
|
- if pair[0] == "Backing Filesystem" {
|
|
|
|
- return pair[1]
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- return ""
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
// parseInitVersion parses a Tini version string, and extracts the "version"
|
|
// parseInitVersion parses a Tini version string, and extracts the "version"
|
|
// and "git commit" from the output.
|
|
// and "git commit" from the output.
|
|
//
|
|
//
|