[Novalug] Protecting an SSD

Fredrik Nyman fredrik.nyman@gmail.com
Tue Nov 6 08:24:01 EST 2012


Does this actually buy you anything?  If /tmp is a tmpfs, it's already a
ramdisk, no?



On Tue, Nov 6, 2012 at 7:16 AM, Ed James <edward.james@gmail.com> wrote:

> Assembled Wisdom,
>
> My daily-driver PC uses only a flashdrive as a HD.  I'm looking at
> ways to reduce read/writes to it, hoping that keeps it alive a bit
> longer.  It's not a critical device - this has been more of an
> experiment than anything else, but still...
>
> I do a lot of compiles to create (temp) .o files and rebuild static
> and/or dynamic libs when I'm on a coding binge. So, for the .o files,
> I create a ram disk in the current dir:
>
>    mkfs -q /dev/ram1 10240  #NOTE: 10 MB is way more than I need
>    mkdir -p RamDisk
>    mount /dev/ram1 RamDisk
>
> When I'm done with it, I remove it with:
>
>    umount RamDisk
>    rmdir RamDisk
>
> Question: are there other situations where this trick could be applied?
>
> adTHANKSvance,
> Ed James
> _______________________________________________
> Novalug mailing list
> Novalug@calypso.tux.org
> http://calypso.tux.org/mailman/listinfo/novalug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.firemountain.net/pipermail/novalug/attachments/20121106/78bb0827/attachment.htm>


More information about the Novalug mailing list