1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg
Tobias Klauser 86f080cff0 Use Mkdev, Major and Minor functions from golang.org/x/sys/unix
Update golang.org/x/sys to 8dbc5d05d6edcc104950cc299a1ce6641235bc86 in
order to get the Major, Minor and Mkdev functions for every unix-like
OS. Use them instead of the locally defined versions which currently use
the Linux specific device major/minor encoding.

This means that the device number should now be properly encoded on e.g.
Darwin, FreeBSD or Solaris.

Also, the SIGUNUSED constant was removed from golang.org/x/sys/unix in
https://go-review.googlesource.com/61771 as it is also removed from the
respective glibc headers.

Remove it from signal.SignalMap as well after the golang.org/x/sys
re-vendoring.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2017-10-19 08:28:38 +02:00
..
aaparser
archive Use Mkdev, Major and Minor functions from golang.org/x/sys/unix 2017-10-19 08:28:38 +02:00
authorization
broadcaster
chrootarchive
containerfs
devicemapper
directory
discovery
dmesg
filenotify
fileutils
fsutils
homedir
idtools
ioutils
jsonmessage
locker
longpath
loopback
mount
namesgenerator
parsers
pidfile
platform
plugingetter
plugins
pools
progress
pubsub
reexec
signal Use Mkdev, Major and Minor functions from golang.org/x/sys/unix 2017-10-19 08:28:38 +02:00
stdcopy
streamformatter
stringid
stringutils
symlink
sysinfo
system Use Mkdev, Major and Minor functions from golang.org/x/sys/unix 2017-10-19 08:28:38 +02:00
tailfile
tarsum
term
testutil
truncindex
urlutil
useragent
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!