cdrom driver report wrong number of used blocks on multisession cdr

From: Yann Dirson (ydirson@altern.org)
Date: Thu Jul 18 2002 - 15:35:27 EST


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    <ydirson@altern.org> |    Why make M$-Bill richer & richer ?
Debian-related: <dirson@debian.org> |   Support Debian GNU/Linux:
Pro:    <yann.dirson@fr.alcove.com> |  Freedom, Power, Stability, Gratuity
     http://ydirson.free.fr/        | Check <http://www.debian.org/>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:28 EST