I want a windows drive to automount at boot (archlinux), so I entered this line into fstab:
//10.10.10.16/kellerpcroot /data/www/webdav cifs credentials=/home/aag/.smbcredentials,rw,user,_netdev,UID=1000,iocharset=utf8 0 0
However, no mount occurs. The command
results in the following error:
mount error(22): Invalid argument
However, I can mount the same drive from the command line, and that works fine with the folllowing command:
1730/199sudo mount -t cifs -o username=user,password=secret //10.10.10.16/kellerpcroot /data/www/webdav
Now, after having mounted manually, the
command works just fine, which I think means that there is no syntactical error in the fstab.
What might be going on here? This issue is driving me crazy!