Add backing filesystem info to docker info command where applicable

Fixes #9960

This adds the output of a "Backing Filesystem:" entry to `docker info`
to overlay, aufs, and devicemapper graphdrivers. The default list
includes a fairly complete list of common filesystem names from
linux/include/uapi/linux/magic.h, but if the backing filesystem is not
recognized, the code will simply show "<unknown>"

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
Upstream-commit: 48b1dd0084904678728817d728bb9ab1c0183aad
Component: engine
This commit is contained in:
Phil Estes
2015-01-15 16:40:39 -05:00
parent 00273b496a
commit 310b2cd524
8 changed files with 103 additions and 33 deletions

View File

@ -1162,6 +1162,7 @@ For example:
Images: 52
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 545
Execution Driver: native-0.2
Kernel Version: 3.13.0-24-generic