[lug] directory/image/cd file space usage differences

qqq1one @yahoo.com qqq1one at yahoo.com
Thu Oct 25 13:13:29 MDT 2001


Recently I noticed that I get a slightly lower value
returned by du when I run it on an image vs the cd the
image is burned onto vs the directory the image was
produced from.  What accounts for this?  Example
below.

> du -hs burn
295M    burn

> mkisofs -r -o cd_image burn
<output looks OK>

> du -hs cd_image
293M    cd_image

> cdrecord -v dev=0,4,0 -blank=fast -data cd_image
<output looks OK>

> mount /dev/cdrom

> du -hs /mnt/cdrom
294M    /mnt/cdrom

> mkdir ~/burn2

> cp -a /mnt/cdrom1/* burn2

> du -hs burn2
295M    burn2

> diff -rq /mnt/cdrom1 burn2
<no differences reported>

> diff -rq burn burn2
<no differences reported>


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com



More information about the LUG mailing list