[mythtv-users] eee PC FLASH_CON Drives

Tortise tortise at paradise.net.nz
Wed Feb 24 22:54:32 UTC 2010


----- Original Message ----- 
From: "Jeff Wormsley" <daworm at comcast.net>
To: <mythtv-users at mythtv.org>
Sent: Thursday, February 25, 2010 11:19 AM
Subject: Re: [mythtv-users] eee PC FLASH_CON Drives


> I've tried those sorts of things.  My 4G compact flash card boot from my USB reader.  Most of my flash drives aren't stable.  So I 
> was hoping to use something meant for the purpose.

I wonder what steps you took when installing on those flash drives, in particular did you install with no swap file and did you turn 
off updating file read dates every time a file is read, something like this (Credit 
http://wiki.linuxcnc.org/emcinfo.pl?Install_To_CompactFlash):

Run a terminal (Applications->accessories->terminal) and enter this:

sudo gedit /etc/fstab

You will then need to enter your password. In fstab you should see a line something like this:

UUID=8037fd09-ea0d-4c28-a348-1fbdf9fb0b92 / ext3 relatime,errors=remount-ro 0 1

Add the noatime option. Normally every time you read a file, the time is written back to the drive. The noatime option disables 
this.

UUID=8037fd09-ea0d-4c28-a348-1fbdf9fb0b92 / ext3 relatime,noatime,errors=remount-ro 0 1

Now add the following lines. They move most temporary files to a ram disk.

tmpfs /tmp tmpfs defaults,noatime 0 0

tmpfs /var/run tmpfs defaults,noatime 0 0

tmpfs /var/log tmpfs defaults,noatime 0 0

tmpfs /var/lock tmpfs defaults,noatime 0 0

tmpfs /var/tmp tmpfs defaults,noatime 0 0

tmpfs /var/lib/dhcp3 tmpfs defaults,noatime 0 0

If you use Firefox a lot, you may want to move it's cache to ram as well. Your fstab line will look something like this:

tmpfs /home/les/.mozilla/firefox/vkuuxfit.default/Cache tmpfs defaults,noatime 0 0 



More information about the mythtv-users mailing list