Pathname.mountpoint? ふたたび
Pathname.mountpoint? - xcorp::When it rains, it pours.の続き。
よくよく実験してみると、NFS bindmount されている場合は Pathname.mountpoint? は true を返しますな。ローカルマシンのディスク上にあるディレクトリどうしで bindmount してる場合は Pathname.mountpoint? は false になりますな。要は、実体がリモートサーバ上にあるディレクトリを bindmount してる分には Pathname.mountpoint? はきちんと true を返すということ。