Jessie and fstab - Raspberry Pi Forums


i use raspbian years , mounted shares in fstab without problems. switched jessie have one.
after reading lot of topics auto mounting share cifs in fstab still got stuck.
1 of solutions add noauto,x-systemd.automount line in fstab.
when sudo mount -a --verbose gives me no output on mounting of share , share not mounted.
when remove noauto,x-systemd.automount line in fstab sudo mount -a mounting share.
still no mounting @ boot time have maualy.

line in fstab is:
//192.168.1.3/back-up/grandix/grandos/webcam /mnt/webcam cifs credentials=/home/pi/secret.txt, 0 0

bug in jessie , if so, why going on such long time? minor bug?
if minor bug why there no solutions find?

hope there has found out long time ago , can give ;-)

the "noauto" says , prevents being automatically mounted @ boot, , prevents being mounted "mount -a" "auto" mount. there's no bug, works you'd expect. if include "noauto" option you'll have use normal mount command mount manually.

can use "x-systemd.automount" or without "noauto" option.

if systemd mount @ appropriate time, , can use "mount -a" well.

code: select all

//192.168.1.3/back-up/grandix/grandos/webcam /mnt/webcam cifs credentials=/home/pi/secret.txt,x-systemd.automount 0 0
produce failed mount errors in boot screen , log since fstab still try mount @ boot though systemd mounting later, can ignore error messages. if want eliminate failed mount errors in log can add "noauto" option, fstab won't try mount it, again won't able use "mount -a".


raspberrypi



Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code