I'm maintaining a heterogeneous network of mac and linux so I decided to create a little perl script to unify mounting strategies across machines.
The current implementation in linux is in /etc/fstab works fine:
//myserverhere.com/cifs_share /mnt/cifs_share cifs user,uid=65001,rw,workgroup=DEV,credentials=/root/.cifs 0 0
and /root/.cifs contains
I tried translating that to a non-fstab format as follows:
mount.cifs //myserverhere.com/cifs_share /mnt/cifs_share user,uid=65001,rw,workgroup=DEV,credentials=/root/.cifs
But it doesn't seem to work.
Can someone point out what I'm doing wrong please?
Thanks in advance.
Ismael Casimpan :)