Hello Everyone,
I mentioned at my presentation that I had some unaccounted for size issues when
I remastered knoppix. Klaus Knopper, the guy who made Knoppix, has finally shed
some light on the subject (debian-knoppix maillist):
> No, you are just victim of a kernel bug in the iso9660 filesystem.
> Hardlinks are not correctly copied as hardlinks, so they are split into
> individual files and therefore require more space on the destination
> filesystem. If you replace all files that are >= 1 Byte and identical by
> content to each other, with hardlinks, the allocated space should shrink
> accordingly.
This thread actually goes on a little and it turns out that the problem is in
the step where you copy from ISO9660 to HD ... the kernel does not honor
hardlinks present on the ISO, it just copies duplicate files to the HD.
So, is there an easy way to remedy this? Compare the contents of every file to
see if they are identical and replace copies with hardlinks? Sounds like a job
for find's exec action which I can't successfully get to work due to quoting
troubles.
Austin
PS - My customization scripts are up on my website now:
http://uberhip.com/godber/plug
PPS - They will be largely replaced with shiney new bash scripts ... it would be
sooner if I didn't have to take a 4 day trip to Taiwan this weekend.