i got some questions about mounting cifs
Code: Select all
Syntax:
mount -t cifs /<anything> <mountpoint> -o user=MyWindowsLoginName,pass=MyWindowsPassword,unc=//<server_ipaddress>/<share_name>
Example:
mount -t cifs /blah /cifs -o user=freddy,pass=ddyfre,unc=//192.168.1.3/scratch_drive
This will give you read/write access (at "/cifs/") to the shared directory: "192.168.1.3/scratch_drive"
Code: Select all
mount -t cifs /share /cifs -o user=username,pass=userpass,unc=//192.168.1.2/home/username/share
Code: Select all
mount: Mounting /share on /cifs failed: Invalid argument
the share and samba server are on a ubuntu machine connected via cable to the router and the router is in the host.allow list...
also i was wondering if the minix partition is deleted on reboot (when not unmounted) that means that its useless in case of a power failure? or does the data loss refer to everything that was written after the last mount/unmount?
last: could someone help in making a script to put in the router in order to shorten the env string for mounting cifs... due to the character limit of the adam2 env (64?)