TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: DENNIS LEE BIEBER
from: ROBH
date: 2018-05-18 18:07:00
subject: Re: ftp causing invalid s

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)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.