Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Basically I'm looking for a way to mimic Windows' ReadyBoost.

I asked this question on Unix.SE to get an idea of whether this was even possible and it seems like it is. Appparently there is a cachefs filesystem I can use to do this.

  • Flash drive: /dev/sdc1 (fs: vfat)
  • Main partition: /dev/sda5 (fs: ext4)

How can I configure Ubuntu to do this?

share|improve this question
It seems rather strange that your primary partition for your system is vfat and not ext4 – Reuben Swartz Mar 18 '11 at 23:29
@Reuben: Ooops. I got them mixed up. Sorry. – Nathan Osman Mar 19 '11 at 2:26
Wish you'd mentioned that you wanted the root partition earlier; that gets trickier, although I'd suspect that sufficiently evil initrd/pivot_root hackery could make it work. – geekosaur Mar 19 '11 at 3:21
up vote 1 down vote accepted

Unfortunately, this is not currently possible. CacheFiles has only been implemented for NFS so far. Another upcoming possibility is CleanCache. Currently CleanCache only has two backends: one for xen tmem, and one for storing cached pages in compressed ram. Hopefully a third backend will be written to store the cached pages on block devices like flash drives.

share|improve this answer

Actually, it looks like it might be fairly easy. apt-get install cachefilesd and read the documentation.

share|improve this answer
Unfortunately, after reading the man page, I am still having a bit of trouble figuring it out. – Nathan Osman Mar 28 '11 at 22:53
Have you actually tried it geekosaur? man page says it's for caching network filesystems... I found someone mounting nfs on to use it, but no performance analysis. – turbo Jun 19 '11 at 23:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.