[ltp] how to silence the hard drive

Michael Gaber linux-thinkpad@linux-thinkpad.org
Mon, 06 Jul 2009 12:52:59 +0200


This is a cryptographically signed message in MIME format.

--------------ms090505030704060801030602
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Am 06.07.2009 12:25, schrieb Martin Schuster (IFKL IT OS DSM CD):
> Volker Krueger wrote:
>> [...]
>> Now, i discovered the following possible entries for /etc/fstab:
>>
>> tmpfs /var/log tmpfs defaults,noatime,mode=3D1777 0 0
>> tmpfs /tmp tmpfs defaults,noatime,mode=3D1777 0 0
>> tmpfs /var/tmp tmpfs defaults,noatime,mode=3D1777 0 0
>>
>> this generates a ram-disk for each mounted tmpfs, i.e., all temporary
>> stuff goes into the laptop's memory so that the HD is not woken up any=
more.
>>
> /tmp in RAM is a good idea (at least if you have enough RAM :)

but beware: i used tmpfs for compiling jobs (/var/tmp/portage in gentoo) =

and noticed that you can produce a nice memory hole with that if you=20
unmount a filled tmpfs without removing the stuff in it before.

Regards Michael

<snip/>



--------------ms090505030704060801030602
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKdjCC
BTcwggMfoAMCAQICAwa1/DANBgkqhkiG9w0BAQUFADB5MRAwDgYDVQQKEwdSb290IENBMR4w
HAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmlu
ZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZzAeFw0wOTA0
MTAxNzIzNDlaFw0xMTA0MTAxNzIzNDlaMD4xFjAUBgNVBAMTDU1pY2hhZWwgR2FiZXIxJDAi
BgkqhkiG9w0BCQEWFU1pY2hhZWwuR2FiZX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