Re: cdrom: "df" != real size ?

H. Peter Anvin (hpa@transmeta.com)
29 May 1996 19:37:37 GMT


In article <199605282344.BAA13986@wildsau.idv.uni-linz.ac.at>,
Herbert Rosmanith <herp@wildsau.idv.uni-linz.ac.at> wrote:
>
>hi,
>
>when I type df I see:
>
>venus:~# df
>Filesystem 1024-blocks Used Available Capacity Mounted on
>/dev/hda2 985329 493077 441348 53% /
>/dev/scd0 94 94 0 100% /cdrom
>
>this does mean that there are 94x1024x1024 bytes = 94MB on CD?
>or is this wrong ? I guess so, because when I tar the whole thing,
>I'll see:
>

It actually means 94x1024 bytes = 94K, which is clearly wrong.
However, my understanding is that there is no firm guarantees that the
volume size on the CD has any connection with reality.

-hpa