Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Is possible to make symbolic links in the android filesystem? (and how?)

Thanks in advance :) .

(My Android version is 2.1 , i'm using Motorola Defy)

share|improve this question
    
android is not a fileystem. What is the filesystem on which you try to create the symplink? You can use mount in terminal emulator to gather this information –  rds Feb 14 '13 at 10:50
    
@rds I know that Android is not a file system. I wrote "Android file system" instead of "Android's file system" because I was writting too fast. –  castarco Feb 27 '13 at 14:52
    
but you still fail to tell what it the underling filesystem you have mounted –  rds Feb 27 '13 at 22:20
add comment

3 Answers

Android does support symbolic links, but certain file systems (e.g. FAT or RFS) does not and you cannot create symbolic links in those partitions. If your device uses a filesystem that supports symbolic links (e.g. ext2, ext3, ext4, yaffs2) then you should be able to use ln -s from the Terminal Emulator.

share|improve this answer
add comment

I think this question on superuser answers your question, i.e. that the FAT filesystem on the SD card does not support symlinks.

Just to clarify (and as reflected in the SU question/answers I linked): the Android OS supports symlinks, but the FAT filesystem on the SD card does not.

share|improve this answer
    
You're always free to format your SD Card with a modern filesystem (if you don't use it on an archaic operating system, of course) –  rds Feb 14 '13 at 10:23
add comment

It is possible to do this via the mount -o bind /old/dir /new/dir command as discussed here http://superuser.com/a/377737/45344

You need root I guess.

share|improve this answer
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.