Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-18-2012, 06:51 AM   #1
Senior Member
Registered: Jun 2006
Location: Debian Land
Posts: 1,719

Rep: Reputation: 155Reputation: 155
Detect if the cdrom/dvd is empty or full?


With wodim or other, can one detect if the cdrom/dvd is empty or full?

Old 08-18-2012, 07:47 AM   #2
LQ Newbie
Registered: Mar 2012
Posts: 5

Rep: Reputation: Disabled
open the shell then type this command:

[root@localhost root]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 77G 2.8G 71G 4% /
/dev/sda1 99M 15M 79M 16% /boot
none 504M 0 504M 0% /dev/shm
/dev/cdrom 4.1G 4.1G 0 100% /mnt/cdrom <--- HERE

Last edited by ibrahimovic22; 08-18-2012 at 07:51 AM.
Old 08-19-2012, 09:47 AM   #3
Senior Member
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,841

Rep: Reputation: 225Reputation: 225Reputation: 225
eject && sleep 5 && eject -t
lsdvd /dev/sr0
sudo mount /dev/sr0 ~/dvdburner && df /dev/sr0
sudo mount /dev/sr0 ~/dvdburner
mount: no medium found on /dev/sr0
Old 08-19-2012, 04:27 PM   #4
Senior Member
Registered: Jun 2006
Location: Debian Land
Posts: 1,719

Original Poster
Rep: Reputation: 155Reputation: 155
what about wodim/cdrecord -atip?

it displays also quit some info. but not all what one could dream about


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Full of '/tmp/6R96Sk' empty files guarriman Linux - General 2 08-14-2006 06:10 AM
Trashicon shows full but it's empty Boby Fedora 0 07-09-2004 08:35 PM
How to restore the Empty/Full trash Icons? tr4nce Slackware 2 04-13-2003 04:15 PM
/usr almost full, /home empty.. how 2 xsfer? Cephlen Linux - Newbie 2 10-11-2002 03:28 PM
I have a bunch of partitions. If one becomes full, can i take some from an empty one? ForumKid Linux - General 2 01-15-2002 04:24 PM

All times are GMT -5. The time now is 09:33 AM.

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