Skip to content

Releases: moby/sys

mount/v0.3.0

05 Nov 10:23
03b9f8d

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: mount/v0.2.0...mount/v0.3.0

mountinfo/v0.5.0

05 Nov 07:58
fbd276c

Choose a tag to compare

Potentially breaking changes

  • Go versions < 1.16 are no longer supported
  • Mounted: in case the argument does not exist, it now returns an appropriate error. Previously, this condition was treated as "not a mount point", with no error returned, but in fact such path could be an unreachable mount point (overshadowed by another mount). In case callers are not interested in such error, they should filter it out, e.g. if !errors.Is(err, os.IsNotExist).

What's Changed

New Contributors

Full Changelog: mountinfo/v0.4.1...mountinfo/v0.5.0

signal v0.5.0

23 Jul 07:30
signal/v0.5.0
9b0136d

Choose a tag to compare

Initial release of the github.com/moby/sys/signal module, which was imported
from github.com/docker/docker/pkg/signal at 9a6ff685a80639995311c0572d662360b55796d9

mountinfo v0.4.1

09 Mar 02:38
b0f1fd7

Choose a tag to compare

Fixes and improvements:

  • Fix PrefixFilter() being too greedy (#61)
  • TestMountedBy*: add missing pre-checks (ce8f425)
  • Documentation improvements (#52)

mount v0.2.0

13 Nov 15:21
mount/v0.2.0
5a29239

Choose a tag to compare

Breaking changes:

  • Remove stub-implementations for Windows for Mount(), Unmount(),
    RecursiveUnmount(), MergeTmpfsOptions() (#31)

Fixes and improvements:

  • go.mod: update github.com/moby/sys/mountinfo to v0.4.0 (#44, #56)
  • use MNT_* flags from golang.org/x/sys/unix on freebsd (#36)
  • add support for OpenBSD in addition to FreeBSD (#32)
  • fix package overview documentation not showing (#43)
  • RecursiveUnmount(): minor improvements (#46)

Thanks to:

  • Tobias Klauser

symlink v0.1.0

13 Nov 15:19
symlink/v0.1.0
1bc8673

Choose a tag to compare

initial release of the package that was imported from github.com/docker/docker/pkg/symlink

mountinfo v0.4.0

21 Oct 16:51
9a75fe6

Choose a tag to compare

Breaking changes:

  • PidMountInfo is now deprecated and will be removed before v1.0; users should switch to GetMountsFromReader (#47)

Fixes and improvements:

  • run filter after all fields are parsed (#50)
  • correct handling errors from bufio.Scan
  • documentation formatting fixes (#48)

Thanks to:

  • Aleksa Sarai

mountinfo v0.3.1

02 Oct 00:37
26483e2

Choose a tag to compare

Breaking changes (since v0.2.0):

  • Some field names of struct Mountinfo are changed to be more in-line with Go naming conventions. Users need to be converted. (#34)
  • FstypeFilter is changed to FSTypeFilter to be in-line with the field name. Users need to be converted. (#41)

Fixes and improvements:

  • Fixed FilterFunc doc. (#41)

mountinfo v0.3.0

02 Oct 00:15
a03c53e

Choose a tag to compare

Breaking changes:

  • Some field names of struct Mountinfo are changed to be more in-line with Go naming conventions. Users need to be converted. (#34)

Fixes and improvements:

  • Fixed per-package doc to be shown by go doc (#37)
  • Make GetMountsFromReader Linux-specific. (#39)
  • OpenBSD support added (same code as FreeBSD; not tested). (#32)

Thanks to:

  • Sebastiaan van Stijn
  • Tobias Klauser

mountinfo v0.2.0

15 Sep 15:49
bbb236c

Choose a tag to compare

Bug fixes:

  • Fix path unescaping for paths with double quotes (#16)

Improvements:

  • Mounted: speed up by adding fast paths using openat2 (Linux-only, #29) and stat (#20)
  • Mounted: relax path requirements (allow relative, non-cleaned paths, symlinks) (fixes #27)
  • Unescape fstype and source fields (#16)
  • Documentation improvements (#15)

Testing/CI:

  • Unit tests: exclude darwin (#13)
  • CI: run tests under Fedora 32 to test openat2 (#29)
  • TestGetMounts: fix for Ubuntu build system (#18)
  • Makefile: fix ignoring test failures (#19)
  • CI: add cross build (#23)

Thanks to:

  • Aleksa Sarai
  • Shengjing Zhu