site  contact  subhomenews

/tmp/versioncleanup

April 23, 2010 — BarryK
When there is a version upgrade of a "pupsave" file, a message appears during bootup that old files that have been overwritten by "official" files have been moved to /tmp/versioncleanup.

However, users don't find them there. Actually, the old files can be found at /initrd/pup_rw/tmp/versioncleanup.

I tried to fix this a couple of times in the 'init' script. Had another stab at it, should be right this time.

Comments

Also /mnt/home at first boot
Username: Raffy
Thanks for that, Barry. Another difficulty is finding the "home" partition, which Puppy mounts automatically at first boot. It shows only at /initrd/mnt/dev_save (?) - the problem of finding it happens if the user wants to save a downloaded file to the home partition (from an application). Also (related to naming of paths/files): Shall the naming of pup-xxx.sfs be permanently changed to hyphen, no longer underscore? (This matters in writing help for users.)"23 Apr 2010, 8:38"01531"119.95.184.178'version cleanup files"B K"Thanks Barry - reassuring to learn that it wasn't just my limitations that made them impossible to find. Puppy Forever. retry3"23 Apr 2010, 10:15"01531"74.248.77.122'The Hyphen"perthie"A better solution would be to eliminate it completely. Then there would be no confusion in situations where the filename is converted from upper to lower case."24 Apr 2010, 3:25"01531"65.93.29.52'Why /tmp?"PaulBx1"I always thought this was one of Puppy's rough edges, saving the stuff in /tmp. If you happen to boot after an update, forgetting to look through that stuff, it is gone. Very newbie-unfriendly. Why not save it in /var, or even better /root (where it will not be forgotten)? Give the directory a descriptive name and a README file for each upgrade so people can throw them out when they are done with them, but not before. I always haul a few of these around in /root (if I remember to copy it from /tmp before it disappears) for a while. They do not really blow up my pupsave any. A security blanket of sorts."27 Apr 2010, 10:21"01531"72.21.74.245'why /tmp"BarryK"The reasoning behind putting versioncleanup in /tmp is it could be a lot of stuff. If put into /var, a newbie may not realise that it is going to stay there permanently unless manually deleted. Username: 27 Apr 2010, 18:23
"01531"114.129.167.148'

Tags: woof