7

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?

3
  • It seems rather strange that your primary partition for your system is vfat and not ext4 Mar 18, 2011 at 23:29
  • @Reuben: Ooops. I got them mixed up. Sorry. Mar 19, 2011 at 2:26
  • 1
    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, 2011 at 3:21

2 Answers 2

1
+100

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.

-2

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .