Copy files from CDROM to harddisk?


 
Thread Tools Search this Thread
Operating Systems AIX Copy files from CDROM to harddisk?
# 8  
Old 03-24-2008
leenguyen0101,

To unmount a cdrom in AIX you must not have anyone accessing it. That includes being in the directory. So try this before reboot next time:

cd /
umount /cdrom

If it won't unmount then a process is accessing. As I recall "fuser -u /dev/cd0" will show you the processes accessing. Then use "ps -ef|grep PID" where PID is the process id to see what process. Kill that process and you should be able to unmount.

I feel your pain my friend. Unix is an expert friendly operating system. Though once learned and appreciated you will love it.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Copy files from one drive to another, keeping most recently modified files

Hi all, I am a bit of a beginner with shell scripting.. What I want to do is merge two drives, for example moving all data from X to Y. If a file in X doesn't exist in Y, it will be moved there. If a file in X also exists in Y, the most recently modified file will be moved to (or kept) in... (5 Replies)
Discussion started by: apocolapse
5 Replies

2. Red Hat

Unable to copy files due to many files in directory

I have directory that has some billion file inside , i tried copy some files for specific date but it's always did not respond for long time and did not give any result.. i tried everything with find command and also with xargs.. even this command find . -mtime -2 -print | xargs ls -d did not... (2 Replies)
Discussion started by: before4
2 Replies

3. Solaris

How to safely copy full filesystems with large files (10Gb files)

Hello everyone. Need some help copying a filesystem. The situation is this: I have an oracle DB mounted on /u01 and need to copy it to /u02. /u01 is 500 Gb and /u02 is 300 Gb. The size used on /u01 is 187 Gb. This is running on solaris 9 and both filesystems are UFS. I have tried to do it using:... (14 Replies)
Discussion started by: dragonov7
14 Replies

4. SCO

CDROM set as filesystem displays all files in upper case

I have a CDROM drive mounted as a filesystem in order to copy a database from a CD. I can view the CD in windows and all the files are as they should be and in the correct case. When I look at the same CD having mounted it as a filesystem on the SCO unix machine all the filenames have been... (3 Replies)
Discussion started by: logixhel
3 Replies

5. Shell Programming and Scripting

help transferring tar files from cdrom to hard drive

alright guys, this is a pretty noob question but I need a script that will take a tarred folder "Animals" from cd and copy and extract it to replace an existing folder on hard drive called "Animals". (to give us more variations for another program which we don't need to worry about here), take the... (1 Reply)
Discussion started by: hootdocta5
1 Replies

6. Solaris

solaris 10 errors mount external usb Harddisk zfs on a nas without cdrom

Hi, I try to mount an external USB HD on a solaris 10 without any success. Machine hardware: i86pc OS version: 5.10 Processor type: i386 Hardware: i86pc The HD is a zfs, but I installed this with a Ubuntu 8.10. iostat -En displays this: --> so the system... (0 Replies)
Discussion started by: edubidu
0 Replies

7. UNIX for Dummies Questions & Answers

Copy files from CDROM to DOS Directory

Hi Everyone, :) Could someone PLEASE tell me how to copy some DOS files from a CDROM to a DOS readable directory in UNIX. I imagine that sounds strange, but that's what I need to do. I am somewhat familiar with... Inserting the CDROM mount /mnt/cdrom ls /mnt/cdrom eject /mnt/cdrom... (3 Replies)
Discussion started by: greystoke
3 Replies

8. Solaris

SunOS 5.6 vs 5.8 HardDisk

Hi all, I am not sure I am in the correct forum or not, but I would appreciate if somebody from here can help me out. My processing equipment currently is using Unltra5 SunOs 5.6 with 8.6 GB hard disk, newer UltraSPARC SunOS 5.8 is with higher hard disk capacity. I am wondering how much hard... (2 Replies)
Discussion started by: uvex
2 Replies

9. UNIX for Dummies Questions & Answers

SCSI Harddisk

hey guys this is my problem I have SCO unix installed on a IDE h/drive. I want to add a SCSI hard drive, how do i do that within UNIX (1 Reply)
Discussion started by: kwame.neilsen
1 Replies

10. UNIX for Advanced & Expert Users

clone harddisk

Hi, i have to make an excect physical copie of a sun unix station harddisk. I have to make all partitions the same on about 60 harddisks, and also they should contain the same data/info. I have hade a look at commands 'DD' and 'UFSDUMP' but both of them are not sufficient enough. Can... (5 Replies)
Discussion started by: dirk2
5 Replies
Login or Register to Ask a Question
CDCTRL(1)							   User Commands							 CDCTRL(1)

NAME
cdctrl - command line CDROM control SYNOPSIS
cdctrl [device] cdctrl -c [device] cdctrl -c cdctrl [-V|-?|-h] DESCRIPTION
cdctrl command is a program that opens a CDROM device and may be used for interactive control of the CDROM including play starting at a track, next track, previous track, stop, pause, display info, display CDROM status, and display CDROM directory. This program may be used as a daemon to control an audio CDROM device. The commands to the cdctrl command are: device Open CDROM device. -V Print out version and build information. -h Display help. -v Display help. -D Enable runtime debugging. -c Output CR-LF at end of each line, not LF. By default, cdctrl opens /dev/cdrom, but does not start playing. Output is to standard output with each line terminated by a linefeed (LF). Commands to cdctrl are: 1 Play first track, start playing. s Stop playing. p Pause playing. r Resume playing. e Eject CDROM. c Close CDROM tray. i Display info string. d Display directory. - Play previous track. + Play next track. When on last track, play first track. [1..99] Play track 1..99. ? Display help screen. q Quit. Each command results in one or multiple lines of output to stdout, followed by an info string, followed by END. The format of the info string is: CMD cmd-name cd-status track abs-time rel-time cmd-name := {play, stop, ... quit} from above list cd-status := {invalid, play, paused} cd-status += {completed, error, no_status} track := {1..99} CD track abs-time := HH:MM:SS elapsed since CD start rel-time := HH:MM:SS elapsed since track start FILES
/dev/cdrom - default cdrom device ENVIRONMENT
CDTOOLDEV - cdrom device, overrides compile time defaults SEE ALSO
cdplay(1) AUTHORS
Main code: Thomas Insel <tinsel@tinsel.org> Enhancements: Sven Oliver Moll <smol0075@rz.uni-hildesheim.de> cdctrl extensions: Wade Hampton <whampton@staffnet.com> CDTOOL
29-July-2004 CDCTRL(1)