The following example makes any CD loaded into the local system's CD-ROM drive 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/solaris_2_6_sparc/s5 ro ""
- /cdrom/solaris_2_6_sparc/s4 ro ""
- /cdrom/solaris_2_6_sparc/s3 ro ""
- /cdrom/solaris_2_6_sparc/s2 ro ""
- /cdrom/solaris_2_6_sparc/s1 ro ""
- /cdrom/solaris_2_6_sparc/s0 ro ""
|