[OSM-dev] tiles at home disk usage

Grant Slater openstreetmap at firefishy.com
Wed May 2 17:34:19 BST 2007

> Better, so that the update is atomic:
> create_file(x/y/tile.png.new)
> mv(x/y/tile.png.new, x/y/tile.png)
> and then forget the stat.

Checked the code, 

# Move the file to its new home
rename($OldFilename, $NewFilename);

So, no code change is required.

Hard link duplicates away! ;-)


More information about the dev mailing list