Prev | Current Page 1307 | Next

Christopher Negus

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


It is mounted on /mnt/maple and its mount type is nfs. The file system was mounted as read/write
(rw), and the IP address of maple is 10.0.0.11 (addr=10.0.0.11).
This is a simple example of using mount with NFS. The mount is temporary and is not remounted
when you reboot your computer. You can also add options for NFS mounts:
 -a??”Mount all file systems in /etc/fstab (except those indicated as noauto).
 -f??”This goes through the motions of (fakes) mounting the file systems on the command
line (or in /etc/fstab). Used with the -v option, -f is useful for seeing what
mount would do before it actually does it.
 -F??”When used with -a, you tell mount to fork off a new incarnation of mount for each
file system listed to be mounted in the /etc/fstab file. An advantage of using this option,
as it relates to NFS shared directories, is that other file systems can be mounted if an NFS
file system isn??™t immediately available. This option should not be used, however, if the
order of mounting is important (for example, if you needed to mount /mnt/pcs and
then /mnt/pcs/arctic).
 -r??”Mounts the file system as read-only.
 -w??”Mounts the file system as read/write. (For this to work, the shared file system must
have been exported with read/write permission.


Pages:
1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319