Detect if the cdrom/dvd is empty or full?
Hi,
With wodim or other, can one detect if the cdrom/dvd is empty or full? Thanks |
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 |
Code:
eject && sleep 5 && eject -t Code:
lsdvd /dev/sr0 Code:
sudo mount /dev/sr0 ~/dvdburner && df /dev/sr0 Code:
sudo mount /dev/sr0 ~/dvdburner |
what about wodim/cdrecord -atip?
it displays also quit some info. but not all what one could dream about |
All times are GMT -5. The time now is 06:39 PM. |