On 18/05/18 17:19, Dennis Lee Bieber wrote:
> On Fri, 18 May 2018 12:47:24 +0100, RobH declaimed the
> following:
>
>> Ok I have removed the //192.168.0.22 and is now //mnt/CCTV/PiZero.
>>
> Remove the extra / -- the local machine file system root is just one /
>
>> The python script runs without error, BUT it does not record any file
>>from detected motion.At least, I cannot find any files in
>> //mnt/CCTV/PiZero on the PI Zero, nor on my NAS box.
>>
>> You say to 'mount the NAS directory into this'
>>
>> Where abouts in the //mnt/CCTV/PiZero does it go.
>>
>
> It doesn't go "in" the directory...
>
> The "mount" command takes the NAS path (this is the one that has the
> IP#) and maps it to the local directory path (the one without an IP#) by
> which you will access it. They don't have to be the same names. It just
> requires the local directory path to exist first.
>
> mount ... //NAS/mnt/CCTV/PiZero /mnt/CCTV/PiZero
>
> maps the local PiZero directory to the NAS PiZero directory -- but leaves
> the parent CCTV directory as a local:
>
> cd /mnt/CCTV is still on the RPI
> cd /mnt/CCTV/PiZero is really on the NAS
>
> but if you did
>
> mount ... //NAS/mnt/CCTV /mnt/CCTV
>
> and the NAS has the full path to a PiZero directory then
>
> cd /mnt/CCTV will be on the NAS, and
> cd /mnt/CCTV/PiZero will also be on the NAS
>
> "mount" sets the "root" for the remote file system -- you can go /down/
> deeper in the directory structure, but can not go above the remote root
> (attempts will put you back in the local RPI file system)
>
>
Thanks for the clarification there, much appreciated.
On the PiZero I did mount //NAS/mnt/CCTV/PiZero /mntCCTV/PiZero and it
returned:
Password for root@N/NAS/mnt/CCTV/PiZero.
So I used the PiZero password as I didn't know what else to use.
And then it returned:
mount error(115): operation now in progress.
Refer to mount.cifs(8) manual page
Also I did mount //NAS/CCTV /mnt/CCTV, and this also returned the same
as above
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|