I'm running QNX Neutrino.
I've got some files in
# ls /mountpoint /mountpoint/a /mountpoint/b
And after mounting my NAS using fs-cifs like so,
# fs-cifs //hostname:hostipaddress:/sharename /mountpoint login password &
I see the remote files (c, d) as well as my local files (a, b)
# ls /mountpoint /mountpoint/a /mountpoint/b /mountpoint/c /mountpoint/d
Is this the expected behaviour? I thought
mountusually hid the local files (as per Where do the files go if you mount a drive to a folder that already contains files?)
Is there an easy way of determining whether the files listed are stored locally or on the NAS?
Is there an easier method of moving local files in
/mountpointto the NAS than unmount, move local files to tmp, remount, move files from tmp to