Skip to content

Releases: moby/sys

mountinfo v0.4.0

21 Oct 16:51
9a75fe6
Compare
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
Compare
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
Compare
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
Compare
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

mount v0.1.1

15 Sep 17:38
bbb236c
Compare
Choose a tag to compare

Improvements:

  • RecursiveUnmount: add a fast path (#26)
  • Unmount: improve doc
  • fix CI linter warning on Windows

Testing/CI:

  • Unit tests: exclude darwin (#13)
  • Makefile: fix ignoring test failures (#19)
  • CI: add cross build (#23)

mountinfo v0.1.3

20 Mar 16:43
6154f11
Compare
Choose a tag to compare
  • fixed windows build (#10)

mountinfo v0.1.2

19 Mar 18:50
7284fba
Compare
Choose a tag to compare
  • mountinfo: add GetMountsFromReader (#6)
  • mountinfo: Source,VfsOpts: make avail to filters (#9)
  • mountinfo: add "empty source" test case (#5)
  • mountinfo: fix filters doc