9 More Discussions You Might Find Interesting
1. Linux
I have created an encrypted disk using the following command:
# cryptsetup create testcui /dev/sdb --key-file= /etc/keys --verify-passphrase plain
This created the correctly mapped device /dev/mapper/testcui
I have create the crypttab file with the following:
#
# test disk
#... (0 Replies)
Discussion started by: jlowry
0 Replies
2. Shell Programming and Scripting
Hi All,
How to FTPing file from Unix server to Windows Shared drive location.
Thanks,
Suman B (1 Reply)
Discussion started by: sumanmca2006
1 Replies
3. UNIX for Dummies Questions & Answers
Hi
I need to restore an oracle backup from production in a test x86 Solaris 10 box . But the space is limited and does not have enough to hold both the backup as well as database . Hence , I am thinking of mapping a network drive from another x86 Solaris 10.
Pls let me know if it is... (3 Replies)
Discussion started by: Rossdba
3 Replies
4. UNIX for Dummies Questions & Answers
Hi Guys,
Can any one help me on this.
I need help to move .csv/.xls file from unix path to windows shared drive or c:\ drive?
Regards,
LKR (1 Reply)
Discussion started by: lakshmanraok117
1 Replies
5. Windows & DOS: Issues & Discussions
Hi all,
Can anybody explain me about mapping a path to a drive with example?
Thanks (3 Replies)
Discussion started by: Bobby16
3 Replies
6. Solaris
I have two servers, one running on Windows server 2003 and one running Sun Solaris 10. Can you help me how to map drive from Sun Solaris to Windows server 2003.
Thanks (1 Reply)
Discussion started by: tanhq
1 Replies
7. UNIX for Dummies Questions & Answers
hi all ;;
I have a Tru64 UNIX machine , first i want my employees ( windows clients) to see specific directory on unix , and how can i put a unix command in a visual basic code to copy the contents of that directory to drive c in the client side who request that by clicking a push button.
... (3 Replies)
Discussion started by: kafaween
3 Replies
8. Solaris
Hallo...Hi,
Anyone can help me???How can I map network drive from Windows if i'm using the Sun Solaris 8 server? :confused: (1 Reply)
Discussion started by: mrboomber
1 Replies
9. HP-UX
Dear Unix Gurus,
I am very very new to UNIX.
Apreciate your advice/guidence on the following.
I have a HPUX machine and i want to copy some files from this machines to a windows shared drive.
I am not sure how to go about it.
To my little knowledge i think it is not straight... (5 Replies)
Discussion started by: nicky88
5 Replies
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)