Sponsored Content
Top Forums Shell Programming and Scripting How to detect whethere the CD is R or RW Post 302218060 by jisha on Thursday 24th of July 2008 08:01:05 AM
Old 07-24-2008
My OS is red hat linux 8.0
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to detect process

Dear Sir, Now I use oracle database on AIX server and found some user use iligal program such as development tool logon to my database. I want to detect the process of illegal program and kill it. Could you please suggest me to make detect process. Thank you very much Pkanonwe. (2 Replies)
Discussion started by: pkanonwe
2 Replies

2. Shell Programming and Scripting

xterm detect

i have this script that launches multiple xterm sessionon a CDE. i would like to test the xterm so that when i execute the script using an ordinary terminal it will detect that it will unable to launch the xterm and execute other script instead. i tried using trap and exit status. maybe i am... (2 Replies)
Discussion started by: inquirer
2 Replies

3. UNIX for Advanced & Expert Users

How to detect OS is SLES 10 or not

Hi, I would like to programmatically find if given OS is SLES 10 / RHEL 3/.RHEL 4/RHEL5 etc .. For this do we have any library call/sys call? Or should we use any sys. structure which would give me detailed info. Share me if you have any pointers. Thanks in advance - Krishna (1 Reply)
Discussion started by: krishnamurthig
1 Replies

4. Shell Programming and Scripting

Detect changes in a file

Hi all Just curious , is it possible to detect changes in a file and sent to email . For ex: demo.conf I would like to receive an email everytime a particular file(demo.conf) changes and the content added/removed and who did the change (userid). Is it possible. Thanks CK (4 Replies)
Discussion started by: coolkid
4 Replies

5. Shell Programming and Scripting

detect F5 is pressed

Hello friends, I want to write a shell script in bash shell . Working for the script is to detect any key pressed and disply on screen as "you have pressed: " For example if user pressed F5 then a messaged has to be displayed as "you have pressed F5. Thank you. (4 Replies)
Discussion started by: pradeepreddy
4 Replies

6. Programming

can-not detect TCP disconnects well

Hello everyone. Thanks for reading. I am using Ubuntu 7.04 to experience this problem: I have written my own programs that communicate to eachother and I am having a hard time detecting a TCP socket disconnect when the remote side's computer has a power-failure (for example). On the computer... (6 Replies)
Discussion started by: pjwhite
6 Replies

7. Red Hat

Detect the lun

Hi, Is there command to detect the newly added LUN is linux box. I tried with below commands, but that doesn't work out. fdisk -l, fdisk -l | grep Disk pvscan (5 Replies)
Discussion started by: gsiva
5 Replies

8. Shell Programming and Scripting

Detect changes to crontab

Dear All, My server is running crontabs of 4 different users. I want to develop a script that whenever a particular change occurs in a crontab , it is detected and the particular change is noted into a file. Kindly let me know of suggestions on how it can be achieved. My algo would be: ... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies

9. Shell Programming and Scripting

Detect OS

whats the equivalent of detect OS in perl with an if then ? platform='uname' if ]; then alias ls='ls --color=auto' elif ]; then alias ls='ls -G' fi In perl I see perl -Mstrict -MEnglish -E 'say $OSNAME' or print "$^O" Please use CODE tags as required by... (1 Reply)
Discussion started by: nixguynj
1 Replies
X-CD-ROAST(1)						      General Commands Manual						     X-CD-ROAST(1)

NAME
xcdroast - graphical frontend to create or copy CDs. SYNOPSIS
xcdroast [-d <debug-level>] [-c <config-directory>] [-l <lib-directory>] [-o] [-n] [-i] [-w] [-a] [-f "<list of scsi-devices>"] [--display <display>] [--no-xshm] DESCRIPTION
xcdroast is a program-package dedicated to easy CD creation. It combines command line tools like cdrecord, cdda2wav, readcd and mkisofs into a graphical user interface. With a few simple mouse-clicks you can copy or create your own CDs, without long study of any command line parameters. OPTIONS -d <debug-level> Run X-CD-Roast in debug mode, which causes a lot of text to be output on the console. Set the debug-level to 10 and reproduce the problem to generate a useable bug-report. -c <config-directory> Sets the directory where X-CD-Roast should look for the config files. By default this is set to $HOME/.xcdroast. -l <lib-directory> Sets the directory where X-CD-Roast should look for its library files (like icons, translations and sounds). By default this is /usr/lib/xcdroast-0.98 or /usr/local/lib/xcdroast-0.98 (depends on your installation). -o This disables multibyte font support. This might be handy when you have problems to display some special characters in the on-screen texts. (e.g. german umlauts) -n Disables the cdrtools version check and allows X-CD-Roast to start when even wrong versions of cdrecord, mkisofs, readcd or cdda2wav are installed. Use at own risk! This also overrides the forced exit when you don't meet the 800x600 minimal resolution requirement. -i Ignore the result of the SCSI-scan. Allows to start X-CD-Roast even when no devices (CD-Reader or Writer) could be found. This way you can use X-CD-Roast still for mastering images. -w Don't use cdrecord-ProDVD, even when it is installed. Sometimes it may be desireable to use only the free version of cdrecord. In this case you can disable ProDVD support here without needing to deinstall the ProDVD-binary. -a Disable additional scans for CD-Writers or CD-Readers. In addition to the usual SCSI transport support (generic scsi), X-CD-Roast also supports the experimental ATA-transport of the latest linux kernels. If you set this option then this extra support will be disabled. -f "<list of scsi-devices>" Will not scan for devices, but force X-CD-Roast to use the given ones (semicolon seperated list). Most useful on AIX or OpenBSD sys- tem where scanning fails. Can be also used to use remote-SCSI devices. --display <display> Use the designated X display. --no-xshm Do not use the X Shared Memory extension. If X-CD-Roast is being displayed on a remote X server, this probably needs to be enabled. Also useful for any X server that doesn't properly support the X shared memory extension. This will result in slower performance than with X shared memory enabled. Multiple concurrent instances It is possible to start X-CD-Roast more than once at the same time. This way you can write to several CD-Writers if your system can handle the load. You have to start each instance of X-CD-Roast with the -f 'devicelist' option where you tell it which device should be used. Without that option X-CD-Roast would scan automatically for devices, which could interrupt the other X-CD-Roast process. Be sure to give each instance of X-CD-Roast own devices. Also note that writing two CDs at the same time requires that the writers are at a own IDE bus each. (Real SCSI devices should be fine.) Example: Start the first instance 'xcdroast -f "0,0,0"' and the second with 'xcdroast -f "0,1,0;0,2,0"'. This way the first instance would use the device named 0,0,0 and ignore the others, and the second instance would only use 0,1,0 and 0,2,0. See the X-CD-Roast Setup-Menu about the device numbers. BUGS
This 'man' page is to short. Really useable information can be found in the extra documenation included with X-CD-Roast and in the FAQ on http://www.xcdroast.org AUTHOR
Thomas Niederreiter <tn@xcdroast.org> Homepage of X-CD-Roast: http://www.xcdroast.org SEE ALSO
cdrecord(1), cdda2wav(1), readcd(1), mkisofs(8). Version 0.98alpha13 01 Jan 2003 X-CD-ROAST(1)
All times are GMT -4. The time now is 04:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy