Determine the free space on a CD-RW using command line utilites

176 views Asked by At

I'm using the wodim command in bash with the -multi flag to write to a CD-RW without having to blank the disc in between writes. After writing enough sessions to the disc, I have to blank the disc to recover some of the multi-session overhead space.

How can I determine how much space is left on the disc before attempting to write more data to it?

The df command shows 0 KB available (100% capacity) for my multi-session disc regardless of how much data is actually on it.

I'm using RHEL 7, and it's important that I avoid installing additional 3rd party utilities.

0

There are 0 answers