On 05/20/2015 10:03 AM, buhorojo wrote:
On 20/05/15 13:23, Per Jessen wrote:
mount -o username=uid,password=pwd -t cifs //172.16.5.105/estudiantes mnt mount -o username=xxx,password=xxx -t cifs //172.16.5.105/estudiantes mount: can't find //172.16.5.105/estudiantes in /etc/fstab
A perfectly reasonable error. A RTFM would have made the reason clear. <quote> The standard form of the mount command, is mount -t type device dir This tells the kernel to attach the filesystem found on device (which is of type type) at the directory dir. The previous contents (if any) and owner and mode of dir become invisible, and as long as this filesystem remains mounted, the pathname dir refers to the root of the filesystem on device. If only directory or device is given, for example: mount /dir then mount looks for a mountpoint and if not found then for a device in the /etc/fstab file. </quote> You command hasn't said WHERE to mount "//172.16.5.105/estudiantes" so it tries looking it up in /etc/fstab. Mount doesn't have a default destination! -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org