Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add backing filesystem info to docker info command where applicable #10125

Merged
merged 1 commit into from
Jan 16, 2015

Conversation

estesp
Copy link
Contributor

@estesp estesp commented Jan 15, 2015

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

@estesp estesp force-pushed the 9960-add-backingfs-info branch 2 times, most recently from ceec93c to db49765 Compare January 15, 2015 22:45
@SvenDowideit
Copy link
Contributor

pleae update the docker info example in the documentation :)

@jessfraz
Copy link
Contributor

Yayyyyy you fixed my issue <3

On Thursday, January 15, 2015, Phil Estes notifications@github.com wrote:

Fixes #9960 #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 ""

Docker-DCO-1.1-Signed-off-by: Phil Estes estesp@linux.vnet.ibm.com

javascript:_e(%7B%7D,'cvml','estesp@linux.vnet.ibm.com');

You can merge this Pull Request by running

git pull https://github.com/estesp/docker 9960-add-backingfs-info

Or view, comment on, or merge it at:

#10125
Commit Summary

  • Add backing filesystem info to docker info command where applicable

File Changes

Patch Links:


Reply to this email directly or view it on GitHub
#10125.

@estesp
Copy link
Contributor Author

estesp commented Jan 16, 2015

@SvenDowideit your wish is my command! :) done.. I looked for other references, but it seemed like this example in cli.md covers it..let me know if you know of any other references that need update

@SvenDowideit
Copy link
Contributor

awesome :) yup, thats the only one I know of too :)

Docks LGTM - @fredlf @jamtur01

@LK4D4
Copy link
Contributor

LK4D4 commented Jan 16, 2015

LGTM

@jessfraz
Copy link
Contributor

LGTM, thanks so much for doing this, and sorry for the slow reply

@jessfraz
Copy link
Contributor

I think we just need one more docs approval :)

@jamtur01
Copy link
Contributor

Docs LGTM

@tianon
Copy link
Member

tianon commented Jan 16, 2015

I like this, but I worry about the fact that we've essentially got the exact same list duplicated twice, especially since they're not right next to each other making it more obvious that they ought to be updated in lock-step (and I think gofmt won't let them live right next to each other anyhow since one ist a const and one is a var).

Is there any simple way you can think of to reconcile this? Happy to just step back and let it ride if there's not an easy fix now, since if someone thinks of one it's easy to make a follow on PR later. 👍

@jessfraz
Copy link
Contributor

can you point me to the gofmt thing?

@estesp
Copy link
Contributor Author

estesp commented Jan 16, 2015

yeah, I'm not sure about gofmt, but there were existing const and var sections separated by the long type definitions that I used (and the map can't be a const, so it has to be a var). I didn't move the section although I did think about the distance and wondered if anyone would care. I think it's possible to move the var section up but I don't know all the ins and outs of gofmt yet..

Fixes moby#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>
@estesp estesp force-pushed the 9960-add-backingfs-info branch 2 times, most recently from c5cd371 to 48b1dd0 Compare January 16, 2015 20:20
jessfraz pushed a commit that referenced this pull request Jan 16, 2015
Add backing filesystem info to `docker info` command where applicable
@jessfraz jessfraz merged commit eaf3c6f into moby:master Jan 16, 2015
@estesp estesp deleted the 9960-add-backingfs-info branch January 16, 2015 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add base filesystem to docker info
8 participants