2002-07-18 21:23:48

by Yann Dirson

[permalink] [raw]
Subject: cdrom driver report wrong number of used blocks on multisession cdr


I suppose it's an issue in the cdrom driver: df does not report the correct
number of used blocks on a multisession CD/R, only the number of blocks
used by the last session:

# df /cdrom/
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/cdrom 8022 8022 0 100% /cdrom

# du -sk /cdrom/
472679 /cdrom


I got the same behaviour under 2.2.19 and 2.4.18.

--
Yann Dirson <[email protected]> | Why make M$-Bill richer & richer ?
Debian-related: <[email protected]> | Support Debian GNU/Linux:
Pro: <[email protected]> | Freedom, Power, Stability, Gratuity
http://ydirson.free.fr/ | Check <http://www.debian.org/>