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)
|