On Tue, 23 Mar 2021, Christopher Harvey wrote:

> hm interesting question. I tried locally out of curiosity and it seems to 
> work.
>
> /mnt/chris is NFS
>
> # sudo mount --bind /home/chris/test-files/ /mnt/chris/tmp/
>
> # mount | grep chris
> //172.24.1.10/chris on /mnt/chris type cifs
> /dev/nvme0n1p4 on /mnt/chris/tmp type ext4
>
> # cd /mnt/chris/tmp/
> now shows the local files.
>
> Unsure how permissions/gid/uid would work in this case though. Do
> you get the CIFS-enforced ones or the mounted directory ones? Mine
> matched before the mount.

  cool, thanks for checking. i'll mention this to my friend, even
though i'm still going to recommend restructuring his scripts to not
depend on hard-coded paths to data directories below the NFS mount
point.

rday

To unsubscribe send a blank message to [email protected]
To get help send a blank message to [email protected]
To visit the archives: https://lists.linux-ottawa.org

Reply via email to