a. SunOS 4.1.x:
Su to root and run this command,
# mount -r -t hsfs /dev/sr0 /cdrom
or even better, put the following line in your /etc/fstab
/dev/sr0 /cdrom hsfs ro 0 0
and then run
# mount /cdrom
Don Trimmer, of Delta Microsystems, has written a program that allows
safe mount/umount operations without requiring super user permissions.
You can get his program by anonymous ftp from cdrom.com:/cdrom/mount.c
b. Sun Solaris 2.2 and later
Just insert the CD-ROM in the drive. If it's a HSFS format disk, it
will get mounted automatically (under /cdrom). If it's a UNIX fileystem
format, it will also get mounted automatically. It it's an audio disk,
nothing will happen UNLESS you have enabled audio CD's, by uncommenting
or adding this line to the end of /etc/rmmount.conf and restarted "vold":
action cdrom action_workman.so /bin/workman
(changing /bin/workman to wherever workman or some other Audio CD player
program is located). Actions are being developed for other types of CD's.
![]() |
![]() | Copyright ©1995 by ISOMEDIA, Inc. For Information, contact Ken Cheney | |
![]() |
![]() |