Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Meidad and CD ROM 1

Status
Not open for further replies.

stla

IS-IT--Management
Mar 12, 2003
190
DE
I would like to turn off mediad as it is causing problems with my tape device software.

If I edit the file in /etc/config/mediad and set it to 'off', will the CD Rom still work?

Best regards
 
Yes, the CDROM will still work, but you have to mount it manually. For example:
mount -t iso9660 /dev/rdsk/dks0d7vol /CDROM
(See man mount).

Another solution could be to use the configuration file /etc/config/mediad.config. There is a command to ignore devices. Example of this file:
# ignore a tape device completely.
ignore device /dev/rmt/tps0d6
(man mediad for more information).
 
Thanks.
My devices are all on SCSI 3 using device numbers 1,2 and 10. I have changed /etc/config/mediad.config to look like this. Does that look OK:

cat mediad.config
# ignore a tape device completely.
ignore device /dev/rmt/tps3d1

# ignore a tape device completely.
ignore device /dev/rmt/tps3d2

# ignore a tape device completely.
ignore device /dev/rmt/tps3d10
 
It looks ok to me. (Take care you did not modify existing configuration options like sharing devices). Just try it by restaring mediad with commands
/etc/init.d/mediad stop
/etc/init.d/mediad start
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top