Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
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 '11 at 3:21
add comment

2 Answers 2

up vote 1 down vote accepted
+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.

share|improve this answer
add comment

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
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 '11 at 23:22
add comment

Your Answer

 
discard

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.