Re: [ilugd] Bash Shell Scripting...

2004-05-12 Thread Viksit Gaur
Hey! > Is it coz of the fact that the device is still busy > doing some work > (just a guess...). If so, how do i find out that > which all devices are > using my cdrom/floppy??? Well, you just might do a " ps aux | grep /dev/cdrom " to see if any processes in the background are hogging your driv

RE: [ilugd] Bash Shell Scripting...

2004-05-12 Thread Kapoor, Nishikant
> (just a guess...). If so, how do i find out that which all devices are > using my cdrom/floppy??? (as root): lsof /mnt/cdrom -Nishi ___ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gm

Re: [ilugd] Bash Shell Scripting...

2004-05-12 Thread Ish
this error is displayed if you try to unmount cd/floppy while working in the directory in which cd/floppy is mounted. so, to avoid the error, try unmounting the device from outside the mounted device's folder .. also make sure that you are not cd'ed in that folder from another terminal. hth -!s

Re: [ilugd] Bash Shell Scripting...

2004-05-12 Thread Raj Shekhar
Mayank Jain wrote: Hi guys, pls help me out on this one... unable to unmount /dev/cdrom : busy (i dnt remember the exact words!) Make sure you do not launch your script from the /mnt/cdrom directory. Also as Dhruv said, do a cd / before umount. Btw, how are you making an automated Oracle instal

RE: [ilugd] Bash Shell Scripting...

2004-05-12 Thread Dhruv Soi
in your script add cd / before unmount :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mayank Jain Sent: Wednesday, May 12, 2004 7:38 PM To: ilugd-list; cd Subject: [ilugd] Bash Shell Scripting... Hi guys, pls help me out on this one... I'm maki

[ilugd] Bash Shell Scripting...

2004-05-12 Thread Mayank Jain
Hi guys, pls help me out on this one... I'm making an automated shell script installer for Oracle9i. It'll copy the 3 cd's onto the hdd & start the installation. The prob is that after copying from the 1st cd, the Bash prompt gives the following error:- unable to unmount /dev/cdrom : busy (i dnt