TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ROBH
from: =?UTF-8?Q?BJ=C3=B6RN_LUND
date: 2018-05-23 12:41:00
subject: Re: ftp causing invalid s

On 2018-05-23 10:42, RobH wrote:
> pi@raspberrypi:~ $ sudo echo "test" > /mnt/CCTV/PiZero/test.txt
>
> pi@raspberrypi:~ $ ls -la /mnt/CCTV/PiZero
> total 11
> -rw-r--r-- 1 pi pi    5 May 23 09:28 test.txt
> pi@raspberrypi:~ $

There you go.
You got a file of 5 bytes ('test' + LF)

if you see that file and it contents from the nas,
you are almost there.

mount (in this case) is about seeing another filesystem.
And that yuu do.
Why the videos are 0 byte is likely in the script then.
(perhaps as someone else suspected - camera not flushing to disk)




>
>
> I've just realised that FreeNAS resides on a 16gb SSD drive and all the
> storage drives are listed or mounted by FreeNAS, and the data on them is
> managed by FreeNAS, if that sounds right.
>
> This is the Freenas system:
>
> [root@freenas ~]# ls
> .bash_history   .gdbinit        .login          .ssh
> .bashrc         .history        .profile        secrets.tdb
> .cshrc          .k5login        .shrc
> [root@freenas ~]#


--
--
Björn

--- 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™.