[vorbis] Re: Re: fitting lots of music into 10GB with Vorbis

Nicola Larosa nico at tekNico.net
Fri Dec 27 00:09:10 PST 2002



> Actually, it depends on how you count.
> 
> % df /music
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/hdc1              9649993   8411570    737701  92% /music
> 
>     ...but
> 
> % find /music -name "*.ogg" -print0 | xargs -0 du -c | grep total
>  5080789     total
> 
> Counting total space allocated for the files (including "slack") is nearly
> 8.5GB, whereas summing the file sizes for all 1864 oggs in the HD comes up to
> barely over 5GB.

That would be 1.7 MByte of slack space *per each file*. Looks a bit too much 
  to me.

Give a look to the GNU df man page:

"df displays the amount of disk space available on the filesystem containing 
each file name argument."

Your "df /music" counts *all* the space used from the partition mounted on 
/music , not just the cluster space occupied by files in said directory.

Maybe there are other files not ending in ".ogg" on that partition too, or 
else something is wrong.

<p>
-- 
"The browser wars won't be over until Mozilla stomps IE."
   Proudrooster on Slashdot

Nicola Larosa - nico at tekNico.net

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis mailing list