This recipe shows how to mount folders that have been shared from another computer.
Recent Linux kernels, including the kernel used by the Raspbian Linux distribution for the Raspberry Pi, have built-in support for mounting shared folders using the SMB (CIFS) protocol. This is the file sharing protocol used commonly by Windows computers and home file sharing devices. It is also used on OS X when sharing files.
This is the simplest recipe for mounting a shared folder from the command line on the Raspberry Pi.
Once you've completed this recipe, you will be able to share files with other computers on the same network using the SMB (CIFS) protocol.
Here are the ingredients for this recipe:
An initial setup or basic networking setup for the Raspberry Pi that has been powered on. You have also logged in as the user
pi
(see the recipes in Chapter 1, Installation and Setup,...