Dvd-rw packet writing and growing files
Here are two ways to take a backup of /home directory to a packet writing dvd-rw:
Method one:
1) tar zcf /tmp/backup.tar.gz /home
2) cp /tmp/backup.tar.gz /media/cdrom/
3) rm /tmp/backup.tar.gz
Method two:
1) tar zcf /media/cdrom/backup.tar.gz /home
In method one, the file size is known before writing to the medium and in the second one it is not (file grows while being written). Does method two cause some unnecessary writing to the dvd-rw, wearing it out more? Does Linux write intermediate file size results (or modification times) to the medium?
|