System Administration Guide: Basic Administration

Example—Making Local CDs Available to Other Systems

The following example shows how to make any local CD available to other systems on the network.


# ps -ef | grep nfsd
    root 10127  9986  0 08:25:01 pts/2    0:00 grep nfsd
    root 10118     1  0 08:24:39 ?        0:00 /usr/lib/nfs/nfsd -a
# mkdir /dummy
# vi /etc/dfs/dfstab
(Add the following line:)
share -F nfs -o ro  /dummy
# eject cdrom0
# chmod 644 /etc/rmmount.conf
# vi /etc/rmmount
(Add the following line to the File System Sharing section:)
share cdrom*
# chmod 444 /etc/rmmount.conf
(Load a CD.)
# share
-               /dummy   ro   ""  
-               /cdrom/sol_9_sparc/s5   ro   ""  
-               /cdrom/sol_9_sparc/s4   ro   ""  
-               /cdrom/sol_9_sparc/s3   ro   ""  
-               /cdrom/sol_9_sparc/s2   ro   ""  
-               /cdrom/sol_9_sparc/s1   ro   ""  
-               /cdrom/sol_9_sparc/s0   ro   ""  
#