Mark Lord write a sophisticated set of scripts that did this and some other optimizations so you could switch back and forth between a fully R/O and R/W mounted system. http://rtr.ca/run_from_ram/ -Bart * Prof. John C Nash <nashjc [ at ] uottawa [ dot ] ca> [091128 12:44]: > I was worried about the "wearout" of SSD in my Asus Eee 900, so I put > the following lines in my /etc/fstab > > tmpfs /var/log tmpfs defaults 0 0 > tmpfs /tmp tmpfs defaults 0 0 > tmpfs /var/tmp tmpfs defaults 0 0 > > Possibly others can suggest improvements on this. Of course, I am > relying on RAM to hold my logs, and apt-get complains that it cannot > find old logs, but otherwise I've found this satisfactory. > > JN > > > >> Date: Fri, 27 Nov 2009 16:10:26 -0500 >> From: "C.T. Paterson" <i [ dot ] adore [ dot ] my [ dot ] 64 [ at ] gmail [ dot ] com> >> Subject: [OCLUG-Tech] Running Linux 24/7 on Thumb Drive - Wear? >> To: OCLUG Linux <linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca> >> Message-ID: >> <c1c598a40911271310i491a8b12i98c3a39acce9eb85 [ at ] mail [ dot ] gmail [ dot ] com> >> Content-Type: text/plain; charset=UTF-8 >> >> Hey folks, >> >> I've been running linux on a thumbdrive for a few months now. The >> machine is on 24/7, and while I wouldn't go so far as to call it >> "busy" - it certainly has things to do throughout the day and night >> (it's a PVR). There have been a couple of incidents now, that have >> made me question the integrity of the system - and I wonder about the >> flash drive. >> >> I know (or think I know) that flash can "wear out" if read/writes are >> done to the same spot on the disk repeatedly - as might be done to >> /tmp. Does anyone think that might have happened over the course of >> some months? Is there anything that can be done to distribute the use >> of the drive so the wear is even? >> >> I have been (and will continue) googling about this - but I haven't >> come up with much except tutorials of how to get started. >> >> Thanks. >> > _______________________________________________ > Linux mailing list > Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca > http://oclug.on.ca/mailman/listinfo/linux -- WebSig: http://www.jukie.net/~bart/sig/