The goal of this recipe is to mount a shared folder from another computer at boot time.
The previous recipe showed how to configure /etc/fstab
for mounting USB disks. This recipe shows how a similar configuration can be used to auto-mount a Windows share at boot time (or any other set of files shared using the SMB (CIFS) protocol).
At home or at the office, it is common for a local network to have some form of Networked Attached Storage (NAS) available to network users as shared folders using the SMB (CIFS) protocol. This recipe shows how the Raspberry Pi can be configured to automatically mount a shared folder at boot time.
After completing this recipe, a shared folder from another computer will be attached to the root filesystem every time the Raspberry Pi boots.
Here are the ingredients:
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...