[Linux-disciples] Adding a networked volume...

Stephen R Laniel steve at laniels.org
Thu Jan 13 10:42:07 EST 2005


On Thu, Jan 13, 2005 at 10:38:06AM -0500, Jason A. Smith wrote:
> I have several folders on my office server that are mounted to my local
> machine when I log in. I want to have another folder mount as well when
> I log in to my local workstation. Can anyone give me a quick 1..2..3.. 

The command line and the config files are similar:

Command line:
mount -t [filesystem type] [device to mount] [place to mount
it] [options]

So for instance, if you're mounting an NFS folder called
'foo' on 10.0.1.100, and you want to mount it in /mnt/nfs,
you could do

mount -t nfs 10.0.1.100:/foo /mnt/nfs

Config files:
Add a new line to /etc/fstab (you'll need to be root to do
so) that reads, for the above example,

10.0.1.100:/foo /mnt/nfs nfs

For all the options that apply when you mount things, do
'man mount'.

-- 
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/


More information about the Linux-disciples mailing list