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 09:41:00
subject: Re: ftp causing invalid s

On 2018-05-22 23:10, RobH wrote:

> [root@freenas ~]# ls -la /CCTV/PiZero
> ls: /CCTV/PiZero: No such file or directory
> [root@freenas ~]#
>
> The directory is there as I can see it in the Storage menu


Yes, it is usually somewhere in /shares or /Shares
or another top directory.

so what you see as /CCTV/PiZero in a menu is really
/shares/CCTV/PiZero or something similar -perhaps
/mnt/CCTV/PiZero
or
/media/CCTV/PiZero

>
> As I posted earlier, does something need to be entered on the /etc/fsab
> file somewhere.

no - not on nas
on pi - if you want the mount automatically at boot.
but if you bork that file up - you may end up with an unbootable system.
It is fixable from another linuxbox but tricky if you are on a newbie level.



To rule out errors in script :
manually put a file in the pi directory,
as I said upthread.
the part with
echo "test" > /mnt/CCTV/PiZero/test.txt
or
sudo echo "test" > /mnt/CCTV/PiZero/test.txt


ls -la /mnt/CCTV/PiZero then
and post here




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