TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ANDY BURNS
from: ROBH
date: 2018-06-04 20:50:00
subject: Re: ftp causing invalid s

On 04/06/18 20:33, Andy Burns wrote:
> RobH wrote:
>
>> This worked fine just now:
>>
>> pi@raspberrypi:~ $ sudo mount //192.168.0.22/CCTV/PiZero /mnt/CCTV/PiZero
>> Password for root@//192.168.0.22/CCTV/PiZero:  ******
>
> hurrah :-)
>
>> I have added this in the fstab file:
>> 192.168.0.22:/mnt/CCTV/PiZero /mnt/CCTV/PiZero
>                 ^^^^
> where did that creep back from?
>
>> NASname = os.path.join("//192.168.0.22/mnt/CCTV/PiZero" , fname)
>
> once it's mounted you just use the local path you mounted it at
>
> os.path.join("/mnt/CCTV/PiZero", fname)

Does os.path.join("/mnt/CCTV/PiZero", fname) have to be added underneath
NASname= os.path.join etc.

Oh I removed the first /mnt in the fstab file, and now I have big
problem. The shell is locked again.

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