1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg
Mike Snitzer 2470a5ed99 devmapper: use RAMInBytes() rather than FromHumanSize()
Device Mapper needs device sizes in binary (1024) multiples.  Otherwise
kernel checks can find that the specified thin-pool device sizes aren't
a multiple of the specified thin-pool blocksize.

The name for "RAMInBytes" is likely too narrow given the new consumers
but... Also add "tebibyte" support to RAMInBytes.

Docker-DCO-1.1-Signed-off-by: Mike Snitzer <snitzer@redhat.com> (github: snitm)
2014-06-24 12:10:14 -04:00
..
dockerscript Fix various MAINTAINERS format inconsistencies 2014-04-30 11:22:11 -06:00
graphdb sqlite-3.6.20-1 unique constraint message 2014-06-19 15:24:22 -04:00
iptables use stderr to debug iptables 2014-05-30 19:39:42 +00:00
listenbuffer
mflag Fix go vet errors 2014-06-18 17:39:57 +00:00
mount
namesgenerator Improve name generation on concurrent requests 2014-05-23 17:51:16 -07:00
networkfs pkg: networkfs: etchosts: fixed tests 2014-05-07 00:42:22 +10:00
proxy
signal Guillaume is busy full-time on his new business, and no longer available 2014-06-16 06:22:15 -07:00
symlink Fixes 5370 infinite/maxLoopCount loop for relative symlinks 2014-05-16 01:03:11 +02:00
sysinfo Guillaume is busy full-time on his new business, and no longer available 2014-06-16 06:22:15 -07:00
system Merge pull request #6527 from subhraveti/cap-whitelist 2014-06-19 14:48:38 -07:00
systemd
term Guillaume is busy full-time on his new business, and no longer available 2014-06-16 06:22:15 -07:00
testutils Fix format in maintainers files 2014-06-02 07:05:06 +00:00
units devmapper: use RAMInBytes() rather than FromHumanSize() 2014-06-24 12:10:14 -04:00
user Check uid ranges 2014-05-18 20:49:08 +04:00
version
README.md

pkg/ is a collection of utility packages used by the Docker project without being specific to its internals.

Utility packages are kept separate from the docker core codebase to keep it as small and concise as possible. If some utilities grow larger and their APIs stabilize, they may be moved to their own repository under the Docker organization, to facilitate re-use by other projects. However that is not the priority.

The directory pkg is named after the same directory in the camlistore project. Since Brad is a core Go maintainer, we thought it made sense to copy his methods for organizing Go code :) Thanks Brad!

Because utility packages are small and neatly separated from the rest of the codebase, they are a good place to start for aspiring maintainers and contributors. Get in touch if you want to help maintain them!