Having a big problem auto mounting in fstab some Windows and Samba shares. This is what I have in fstab:
//192.168.1.11/Data /Network/Data smbfs credentials=.winpassword 0 0
Then located in /etc/.winpassword I have the username and password. This is what "boot.msg" has to report:
//192.168.1.11/Data on /Network/Data type smbfs Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
Any tips or ideas or help would be greatly appriciated.
This is what I have in fstab now:
//192.168.1.8/NAS1 /Network/NAS1 cifs credentials=/etc/.winpassword 0 0
All the directories exist, and I have no problems mounting them manually, but I am not particularily interested in mounting 12 different individual shares each time I boot up (this is a laptop that switches a lot to Windows XP as well..)
Right now ".winpassword" is RW by root only which is how I believe it should be. Once I get this working I will look into using Samba with the encrypted passwords, but first things first