Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 07-19-2004, 11:04 AM   #1
LQ Newbie
Registered: Sep 2002
Posts: 12

Rep: Reputation: 0
How do I read disc and space used information on a DVD?

I have a problem and perhaps you can shed some light. Under Windows if I load a DVD the system will almost spontaneously report disc size and space used. The only way I know of under Linux is to "du -sk" which takes up to 10 minutes on a fully loaded DVD. "df" does not seem to suport cd's or DVD's. Since windows reports this information so quickly it must be stored on a separate track somewhere. Do you know of a utility or a method to read this information? Thank you in advance.
Bill Morse
Opera Systems Inc.
Old 07-19-2004, 11:28 AM   #2
Senior Member
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96

Erm, df does work with CDs and DVDs. You'll have to mount the disk first though.

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda3              5598184   4581064    732748  87% /
/dev/hda1                46633      1957     42268   5% /boot
/dev/hdc                670522    670522         0 100% /mnt/cdrom


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
limit disc space ampena Debian 1 11-13-2005 10:52 PM
Help~! Strange Disc Full ...running out of space... max_tcs Linux - Newbie 8 06-20-2005 07:46 AM
k3b hangs when trying to burn dvd+rw disc but not cd rw disc laiboonh Slackware 0 11-06-2004 11:22 AM
How do I read disc and space used information on a DVD? opera_sys Linux - Hardware 2 07-19-2004 05:17 PM
hard disc space (and samba?) milesstandish Linux - General 5 11-27-2002 10:43 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:48 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