With smbmount
you can mount a Windows share directly into a Linux file system. Particularly
when you have a virtual machine (VM) with a small, self-expanding hard
disc storage file, you don't need to copy big files, like the Domino server
installation archive, into the VM.
Under (K|X)Ubuntu you have to install
the smbfs
package first.
sudo apt-get install smbfs
To mount a file system, you need an
empty folder, you can create with:
sudo mkdir /media/transfer
Then you can call smbmount:
sudo smbmount //192.168.59.1/Transfer /media/transfer/
-o user=assono/tbahn
If you didn't call sudo
before, you have to enter the password for the Linux user, before you are
prompted for the password for the user, which is used to authorize at the
share's server.
In this example 192.168.59.1
is the IP address of the server. You might use the server's hostname instead.
Transfer
is the name of the share.
/media/transfer
is the name of the directory to mount the share into.
assono/tbahn
is the (domain) user, which is used to authorize at the share's server.
The biggest benefit of this method is
that you can access the files on the share exaclty like local files. Thus
you don't need to copy big files into the local file system, which is great
when you are working with a VM with a small, self-expanding hard disc storage
file. This file is kept small, and therefore is easier to backup or pack
into an archive.