vagrant/test/unit/plugins/hosts
Andy Fowler ae9c3e28d6 Fix #10961 NFS sharing in macOS 10.15 host
On OS X 10.15, / is read-only and paths inside of /Users (and elsewhere)
are mounted via a "firmlink" (which is a new invention in APFS). These
must be resolved to their full path to be shareable via NFS.

/Users/johnsmith/mycode  =>  /System/Volumes/Data/Users/johnsmith/mycode

We check to see if a path is mounted here with `df`, and prepend it.

Firmlinks are only createable by the OS and this wasn't supposed to be
visible to applications anyway:
https://developer.apple.com/videos/play/wwdc2019/710/?time=481
2019-10-08 13:21:34 -07:00
..
bsd/cap Fix #10961 NFS sharing in macOS 10.15 host 2019-10-08 13:21:34 -07:00
darwin/cap Clean up tests 2018-01-02 14:36:56 -08:00
linux/cap Fix sudo usage in exports write within linux host cap 2018-08-02 15:13:27 -07:00
void/cap Fix NFS capability detection on Void Linux 2019-03-05 10:03:52 -08:00
windows/cap Only prepare 10 shares per command to prevent exceeding allowed command size 2018-12-07 12:56:55 -08:00