I. am working on an app that uses automounted files using nfsv4 where the server has zfs filesystems. As a test I've created a very simple example and the directory in question seems to automount correctly, but when I try to access it, I get strange behavior. The directory is mounted on is /System/Volumes/Data/mnt/subdir and I can change to that directory just fine. However I get the following:
63 rrsum@Anywhere:subdata% pwd
/System/Volumes/Data/mnt/subdata
64 rrsum@Anywhere:subdata% ls -la
total 3
drwxr-xr-x 3 nobody nobody 4 Jan 10 13:03 .
dr-xr-xr-x 3 root wheel 2 Jan 8 17:27 ..
drwxr-xr-x 2 nobody nobody 3 Jan 9 11:20 dir
-rw-r--r-- 1 nobody nobody 12 Jan 10 13:09 file.txt
65 rrsum@Anywhere:subdata% cd dir
cd: string not in pwd: ls
The directory appears in the 'ls -la' properly, but I cannot cd to it.