LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 02-06-2012, 02:36 AM   #1
VinRoh
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Rep: Reputation: Disabled
way to get the media type of CD drive


Hi,
I am new to linux world and facing some issues using SUse Enterprize 32 bit OS. I am looking for commands in linux which can give the media type of the CDrom drive. For instance if I have CD/DVD in the drive , I would like to know if it has No/Wrong Media, cd r/cd rw, Blank Cd etc.

I tried using :

cdrecord -prcap dev=/dev/cdrom 2>/dev/null | grep 'Current:'
from the link:

http://www.linuxquestions.org/questi...writer-712856/

But it just gives reand and write speeds for Cd and DVD.

Also , to let you know, I am using

cdrecord --version

Cdrecord-yelling-line-to-tell-frontends-to-use-it-like-version 2.01.01a03-dvd
Wodim 1.1.8
Copyright (C) 2006 Cdrkit suite contributors
Based on works from Joerg Schilling, Copyright (C) 1995-2006, J. Schilling

Please let me know if it is possible to get the current mediatype details . Thanks in advance for all the suggestions.

Last edited by VinRoh; 02-06-2012 at 03:16 AM. Reason: Information added
 
Old 02-06-2012, 06:33 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Continue here:
http://www.linuxquestions.org/questi...-drive-927857/
 
  


Closed Thread



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
How to get the media type of device using ioctl Yogish Programming 1 11-27-2008 02:24 PM
Specifying Media Type in Gramps Al Hawley Linux - Software 0 03-05-2008 08:55 PM
Moving hard drive from one system type to another type SlowCoder Linux - Newbie 7 11-26-2007 10:38 AM
How to detect CD Media type? rain_jm Programming 1 03-22-2007 07:56 PM
Media Monkey type organizer Christof999 Linux - Software 0 07-04-2006 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:03 AM.

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