Posted 20.12.2001 | Updated 23.05.2006 | Contributed by Andy Mallett
Note that mapping network shares has changed with Fedora Core, see Mapping a Network Share from Linux (Fedora Core 5).
To map a network share is to create a shortcut link on the local machine (actually, a directory) which represents a shared directory on another machine.
Under Linux, drives (directories) are traditionally kept in the /mnt directory, such as /mnt/cdrom and /mnt/floppy. These are known as mount points. MS-DOS and Windows use a local drive letter to represent a network share, but Linux uses an subdirectory in the /mnt directory.
|
|
a] Create a directory in the /mnt directory which will represent the share,
i.e. mkdir /mnt/mypcstuff
b] Use the smbmount command to create a link from the shared directory, such as 'stuff' on the computer called 'mypc'
i.e. smbmount //mypc/stuff /mnt/mypcstuff
Changing to the local Linux directory /mnt/mypcstuff will now take you straight to the contents of the shared directory \stuff on the computer called 'mypc'. You can also substitute the remote computer's IP Address for its hostname.
|
|