Update to Mounting Win 98 and 2k shares

Shaun Cloherty s.cloherty at gsbme.unsw.edu.au
Wed Feb 28 02:56:43 GMT 2001

Mike Loiterman wrote:

> Ok, typing: mount -t smbfs -o username=username,password=password
> //Share/File /mntworked!  It loaded the contents of the folder I
> wanted to acces into the mnt directory.  This is goad, but I would
> like to store them all in one directory.  I tired to do a ...
> /mnt/directoryname but it wouldn't work.
> Did you create the mount point /mnt/directoryname? If not, you need to
> do so.
>  Also, how do I set things up so that Linux will automatically load
> this share on startup and how do I unmount if I need to?
> smbumount /mnt/directoryname
> should unmount the share for you.
> As for mounting the share automatically at startup, Its tricky, unless
> you want your password recorded in /etc/fstab or a script. I would
> suggest installing and configuring pam_mount, which will mount the
> share when you login... provided your UNIX password is the same as
> your SMB password.

Shaun Cloherty
Graduate School of Biomedical Engineering
University of New South Wales

More information about the samba mailing list