Prev | Current Page 1315 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"

Of course, seeing any of those directories depends on how security is set up on
the server.
Try going straight to the shared directory as well. For example:
$ cd /net/shuttle/usr/local/share
$ ls
info man music television
At this point, the ls command should reveal the contents of the /usr/local/share directory on
the computer named shuttle. What you can do with that content depends on how it was configured
for sharing by the server.
This can be a bit disconcerting because you won??™t see any files or directories until you actually try
to use them, such as changing to a network-mounted directory. The ls command, for example,
won??™t show anything under a network-mounted directory until the directory is mounted, which
may lead to a sometimes-it??™s-there-and-sometimes-it??™s-not impression. Just change to a networkmounted
directory, or access a file on such a directory, and autofs will take care of the rest.
Unmounting NFS File Systems
After an NFS file system is mounted, unmounting it is simple. You use the umount command with
either the local mount point or the remote file system name. For example, here are two ways you
could unmount maple:/tmp from the local directory /mnt/maple:
# umount maple:/tmp
# umount /mnt/maple
Either form works. If maple:/tmp is mounted automatically (from a listing in /etc/fstab), the
directory will be remounted the next time you boot Linux.


Pages:
1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327