9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I'm trying to compress a directory structure on an external hard drive, connected by eSATA cable to my linux (Ubuntu 10.04) desktop. The total volume is 500Gb with half a million files, ranging from Kb to Mb in size. The drive is 2Tb, with 0.8Tb free space before compression.
running "tar -pcf... (10 Replies)
Discussion started by: omnisppot
10 Replies
2. HP-UX
I'm a technician who has been called upon to troubleshoot an ancient HP9000 K260, running HP UX 11.11.
After a power sag/crash/restart FSCK gave multiple error/warning messages about logical volumes and groups. I have some modest experience with Unix servers, but not on such an old and... (2 Replies)
Discussion started by: patrick.scalia
2 Replies
3. SCO
I am trying to install an HP StorageWorks DAT40 Tape drive at SC0 5.0.7. The tape drive is not functional.
When I run #sconf -v this is what I get;
Sdsk ad160 0 0 0 0
Sdsk ad160 0 0 1 0
Stp ad160 0 0 3 0
But when... (2 Replies)
Discussion started by: RicardoM
2 Replies
4. UNIX for Dummies Questions & Answers
Currenty running SCO Openserver 6 at a Dell PowerEdge T300. I recently installed a driver for an Adaptec SCSI card (adpu320). When I connect a tape drive to it and re-start the system,it freezes and displays the following message: "WARNING: adpu320: Command timed out (ha= 4)" and the system... (2 Replies)
Discussion started by: RicardoM
2 Replies
5. Solaris
Solaris 10 5/08 on Ultra 40 M2
It boots fine off primary disk but having issues booting off the mirror disk.
I get this error when booting off mirror disk:
Booting 'Solaris 10 ... Mirror disk'
root (hd1,0,a)
Error 22: No such partition
Press any key to continue...
Any... (7 Replies)
Discussion started by: etc
7 Replies
6. Solaris
Recently we had a problem with a CPU card on our SunFire V880 which has Solaris 9 OS. we removed the card and there was also a problem with our usr which was accidentally deleted. We able to restore the usr but now we having a problem with our tape drive.
Previously we could write to the with
... (5 Replies)
Discussion started by: rahmantanko
5 Replies
7. UNIX for Advanced & Expert Users
Recently we brought up a Spectralogic 2K Tape Library that had been out of service for about 3 years to replace a DDS-4 tape drive unit as our main backup device.
Everything seemed to go fine but now I have run into a little problem.
System details:
FBSD 6.1
SpectraLogic 2K library with a... (1 Reply)
Discussion started by: thumper
1 Replies
8. SuSE
I've got SUSE 9 installed on a removable hard drive and the system is up and running fine.
I'm trying to copy stuff off a CD onto one of my Linux partitions but I am getting an errors :
* Could not read /media/cdrom/file1.tar.tar
I can browse to the file location on the CD by using the... (11 Replies)
Discussion started by: GandalfWhite
11 Replies
9. Linux
HELP!!
I am having some major problems at present with a HP dat drive under RH9. The drive worked fine previously under RH8, but now does not work.
I am using kernel 2.4.20-30.9 on a i686 athlon intel box.
My messages log shows the below:
Apr 23 11:39:24 devsys kernel: ahc_pci:1:6:0:... (0 Replies)
Discussion started by: dkimber6
0 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)