TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ROBH
from: KEES VAN EETEN
date: 2018-06-04 20:05:00
subject: ftp causing invalid synta

Hello RobH!

04 Jun 18 17:53, you wrote to Andy Burns:

 >> sudo mount -t cifs -o //192.168.0.22/CCTV/PiZero /mnt/CCTV/PiZero

 Ro> That returns this:

 Ro> sudo mount -t cifs -o //192.168.0.22/CCTV/PiZero /mnt/CCTV/PiZero
 Ro> mount: can't find /mnt/CCTV/PiZero in /etc/fstab
 Ro> pi@raspberrypi:~ $

 In addition to my other reply:

 mount expects a source device and a mount point, if one or the other is
 missing, mount consults the /etc/fstab for the missing value.

 In the above example the sorce device follows -o  and is thus seen as
 the paramater to -o  wich should be aan option. As now the source device
 is missing the mountpoint is looked up in /etc/fstab to find the missing
 source device.

 So remove the -o and let mount apply the defaults. If the defaults are
 not sufficient, put de needed values behind the -o

Kees

--- GoldED+/LNX 1.1.5
* Origin: As for me, all I know is that, I know nothing. (2:280/5003.4)

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