[Grml] grml2hd on a usb stick - wear level issues

Michael Prokop mika at grml.org
Tue Sep 16 00:07:48 CEST 2008


* Peter <vmail at mycircuit.org> [20080914 01:25]:

> I would like to install grml to a usb stick. (not as a live cd but as a 
> hard disk install). Since this is flush memory, with limited write 
> cycles, I wonder if I have to take special with some files or 
> directories that might perform to a high number of write access. For 
> example, I can not create a swap partition since this will rapidly ruin 
> the stick.
> My question is: are there other files (for examples in the /dev /tmp 
> /var dirs) that are written very frequently and that should be mapped 
> for example to a tmpfs or ramdisk ?

/dev is already a tmpfs by default - so nothing to do.

Using a tmpfs for /tmp makes sense if you have enough RAM (I just
love tmpfs for fast development stuff :)).

In /var usually /var/log is interesting, the rest depends on your
usage pattern. ;)

Check out what laptop-mode-tools do, e.g. increasing the limit
between syncs/flushes to your device is useful. Though do not
underestimate nowadays usb sticks, the better ones have amazing live
times. :)

regards,
-mika-
-- 
 http://grml.org/            # Linux for texttool-users and sysadmins
 http://wiki.grml.org/       # share your knowledge
 http://grml.supersized.org/ # the grml development weblog
 #grml @ irc.freenode.org    # meet us on irc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.mur.at/pipermail/grml/attachments/20080916/f612a68c/attachment.pgp 


More information about the Grml mailing list