I wanted to create a hardlink but I can't. I'm rooted and I want to offload my internal memory and move the dalvik-cache to my sd-card.

2 Answers 2


You cannot create hard links across file systems, only soft links.

  • No. There's not an option in default and I have also tried to link it to cache partition. Commented Jun 30, 2013 at 20:55
  • Do you have any reference to back this up? Commented Jun 30, 2013 at 21:03
  • What do you mean? Does this mean across Filesystem means also partition? Commented Jun 30, 2013 at 21:20

You can only hardlink inside the same partition/filesystem. It might help if you edit your question and include the steps you took (i.e. the commands you tried to execute). But from the phrasing it's quite clear you want to re-locate e.g. /data/dalvik-cache (located on the /data partition) to your SDCard (complete different medium). This cannot be done with hard-links.

I'd recomment you take a look at Root # All Data2SD card., Link2SD, and S2E, which help you to offload a bunch of things. For more details, please also refer to our app2sd tag-wiki, which gives you a short description on all these methods.

  • Yes that what I think. But question seems clear to me? I know app2sd and link2sd but it doesn't move the dalvik-cache. Commented Jun 30, 2013 at 21:39
  • OK, read it again -- there was a third app :) But admitted: S2E says it works with CM only. One more chance: Mounts2SD - All-in-one SD-Ext, forgot to mention that. Oh, and of course there's Directory Bind.
    – Izzy
    Commented Jun 30, 2013 at 21:49

You must log in to answer this question.

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