Complete Sample Configuration Files

Listing 16.1 contains a complete /etc/exports >file for a server.

Code Listing 16.1. A Complete /etc/exports File
#
# /etc/exports for denon
#
# Share the home dirs:
/export/home        technics(rw) pioneer(rw) vestax(rw)
                      atus(rw) rane(rw)

#
# Share local software
#
/export/usr/local    technics(rw,no_root_squash)
                       vestax(rw,no_root_squash)
                       pioneer(rw,no_root_squash)
                       atus(rw,no_root_squash)
                       rane(rw,no_root_squash)
					

Listing 16.2 contains a complete /etc/fstab file for a client.

Code Listing 16.2. A Complete /etc/fstab File
 # # /etc/fstab for technics # /dev/hdb2 / ext2 defaults 1 1 /dev/hda8 /home ext2 defaults 1 2 /dev/hda7 swap swap defaults 0 0 /dev/fd0 /mnt/floppy ext2 noauto 0 0 /dev/cdrom /mnt/cdrom iso9660 ...

Get Red Hat® Linux® 7 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.