TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: CHRIS GREEN
from: THE NATURAL PHILOSOPHER
date: 2018-05-17 10:55:00
subject: Re: ftp causing invalid s

On 17/05/18 10:16, Chris Green wrote:
> RobH  wrote:
>> On 15/05/18 09:55, Björn Lundin wrote:
>>> On 2018-05-15 10:39, RobH wrote:
>>>> ftp://NAS server ip address/mnt/folder/subfolder
>>>
>>> A NAS usually exports fileshare, and often via smb/cifs
>>> mount a fileshare to the NAS on the pi,
>>> and save the picture directly on the NAS - without ftp.
>>>
>>>
>>> eg
>>> #mount -t cifs -o username=USERNAME,password=PASSWD
>>> //192.168.1.88/shares /mnt/share
>>>
>>> (as root)
>>>
>>> I
>>> from https://askubuntu.com/questions/101029/how-do-i-mount-a-cifs-share
>>>
>>>
>>>
>> I have tried:
>>   sudo mount -t cifs -o username=USERNAME,password=PASSWD
>>   //192.168.1.88/shares /mnt/share
>>
>> and it returned:
>> mount: mount point /mnt/CCTV/PiZero does not exist
>>
>> I then changed it and added //192.168.0.22/CCTV /mnt/CCTV/PiZero in the
>> fstab file
>> The line in fstab looks like this:
>> /192.168.0.22/CCTV /mnt/CCTV/Pizero, but till get the same error message
>> as above mount point does not exist.
>>
>> What have I missed.
>
> I think it means what it says.  /mnt/CCTV/PiZero doesn't exist, you
> need to create the directory where something is to be mounted.
>
yes. Mount is a process of replacing a local directory *contents* with a
remote directory *contents*, conceptually

So  e.g. mount ...... remote:/home/zaphod /home/remote-zaphod
replaces the CONTENTS of /home/remote-zaphod with the *contents* of
remote:/home/zaphod.




--
“it should be clear by now to everyone that activist environmentalism
(or environmental activism) is becoming a general ideology about humans,
about their freedom, about the relationship between the individual and
the state, and about the manipulation of people under the guise of a
'noble' idea. It is not an honest pursuit of 'sustainable development,'
a matter of elementary environmental protection, or a search for
rational mechanisms designed to achieve a healthy environment. Yet
things do occur that make you shake your head and remind yourself that
you live neither in Joseph Stalin’s Communist era, nor in the Orwellian
utopia of 1984.”

Vaclav Klaus

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