LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-14-2016, 11:37 AM   #1
bits45
Member
 
Registered: Jul 2009
Posts: 44
Blog Entries: 2

Rep: Reputation: 5
Question Blank disc status for CD-ROM (udiskie)?


I have a project where, on CentOS/RHEL6, I checked the cd-rom to ensure a blank disc was inserted in the CD-ROM tray. I used 'udisks --show-info /dev/sr0' to accomplish this.

Since CentOS7 has a front-end called udiskie, I cannot get that same information unless I use the "monitor" option to udiskie. This option however does not end or return a status. You must Cntl-C out to quit it, but you can clearly see the message that a blank disc was inserted.

How can I obtain the correct "blank" status on CentOS7? I've tried many of the other options using udiskie and udisks itself does not seem to be available at the command line.

Thanks,
 
Old 02-15-2016, 09:40 AM   #2
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 509

Rep: Reputation: 203Reputation: 203Reputation: 203
Hi,

There should be a dvd+rw-tools package available, which contains the "dvd+rw-mediainfo" command. I've used this in the past, by looking at the media type in its output. It might provide what you are looking for.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can halevt update status after a blank disc is written? nemesis9 Linux - Desktop 1 10-16-2009 08:25 AM
CD ROM cannot read disc after Linux reboot sprisoner Linux - Hardware 1 12-09-2005 08:48 AM
how to check CD-ROM DISC's label ? jiawj Slackware 2 03-20-2005 10:43 PM
how to check CD-ROM DISC's label ? jiawj Red Hat 0 11-14-2004 07:20 AM
how many times can you blank a cd-rw disc??? win32sux Linux - Hardware 7 05-11-2004 04:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration