07-30-2001
These might be silly questions, but
The cdrom is configured and available?.
lsdev -Cc cdrom
If its not there run config manager
cfgmgrl
Is the filesystem there for the cdrom?
lsfs /dev/cd0
if its not there create one using;
smitty crcdrfs
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello Friends,
I have a problem with install.can u tell me how can I install a programm?I use AIX(IBM) system.
And how can i access cd-rom?I can't mounted,coz i am not Root.(can u tell me another Command /way)?
Thanks all. (1 Reply)
Discussion started by: Christianto
1 Replies
2. Programming
I have the programm, that says to STDERR(not to STDOUT!): "hello world!" and this programm is compiled and I have no sources.
When I try to open this programm in another using C:
=======================================
FILE *pp = popen("hello_to_stderr.exe", "r");
int c;
string a;
... (2 Replies)
Discussion started by: shalmoo
2 Replies
3. Programming
how do i run am encrpyrtic programm on unix, (4 Replies)
Discussion started by: ghoz
4 Replies
4. Shell Programming and Scripting
Hi,
How to embeded programme within perl programme.
Shankarao (2 Replies)
Discussion started by: shankarao
2 Replies
5. Shell Programming and Scripting
have a script in ksh called file1
#!/bin/ksh
cat my.html
---------------------------
and a html file hy.html
can u tell me that if i execute "file1" script it will open hy.html bt here it is showing the all the tags along with text.........
it should open the browser part... (2 Replies)
Discussion started by: ali560045
2 Replies
6. Cybersecurity
Hello,
I´m searching a antivirus solution for Solaris Desktop
PC´s (Intel).
Can anyone tell me more about some producer??
Thanks
Volker (6 Replies)
Discussion started by: kingossi
6 Replies
7. Shell Programming and Scripting
Problem with links programm.
Hi!
I write sctipt for aytomatic checking into IE stas.html ->
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<script type="text/javascript" src="newdata.submit()"></script>
</head>
<body... (1 Reply)
Discussion started by: beckss
1 Replies
8. Shell Programming and Scripting
Hi guys,
i am new to shell can u please explain how to get those two outputs
in temp1
i have i/p like
abcd
edk
lkg
jkl
loop
i need o/p
abcd *********
edk**********
lkg ***********
jkl ***********
loop************
need o/p
abcd
*************** (2 Replies)
Discussion started by: ashokkrishna063
2 Replies
9. Shell Programming and Scripting
Hi all I am using following code and input to duplicate entries till next row but out is cutting some words in this sample can anybody check on his system is there any error?
awk ' { if($2 !~ /^ *$/) { a=substr($0,length($1)+1,index($0,$NF)-length($NF)); b=$NF; } print $1, a, b } ' file... (1 Reply)
Discussion started by: Priyanka Chopra
1 Replies
LEARN ABOUT REDHAT
sdl_cdopen
SDL_CDOpen(3) SDL API Reference SDL_CDOpen(3)
NAME
SDL_CDOpen- Opens a CD-ROM drive for access.
SYNOPSIS
#include "SDL.h"
SDL_CD *SDL_CDOpen(int drive);
DESCRIPTION
Opens a CD-ROM drive for access. It returns a SDL_CD structure on success, or NULL if the drive was invalid or busy. This newly opened CD-
ROM becomes the default CD used when other CD functions are passed a NULL CD-ROM handle.
Drives are numbered starting with 0. Drive 0 is the system default CD-ROM.
EXAMPLES
SDL_CD *cdrom;
int cur_track;
int min, sec, frame;
SDL_Init(SDL_INIT_CDROM);
atexit(SDL_Quit);
/* Check for CD drives */
if(!SDL_CDNumDrives()){
/* None found */
fprintf(stderr, "No CDROM devices available
");
exit(-1);
}
/* Open the default drive */
cdrom=SDL_CDOpen(0);
/* Did if open? Check if cdrom is NULL */
if(!cdrom){
fprintf(stderr, "Couldn't open drive: %s
", SDL_GetError());
exit(-1);
}
/* Print Volume info */
printf("Name: %s
", SDL_CDName(0));
printf("Tracks: %d
", cdrom->numtracks);
for(cur_track=0;cur_track < cdrom->numtracks; cur_track++){
FRAMES_TO_MSF(cdrom->track[cur_track].length, &min, &sec, &frame);
printf(" Track %d: Length %d:%d
", cur_track, min, sec);
}
SDL_CDClose(cdrom);
SEE ALSO
SDL_CD, SDL_CDtrack, SDL_CDClose
SDL
Tue 11 Sep 2001, 22:58 SDL_CDOpen(3)