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.

After installing a custom ROM on my Galaxy s i9000, the external_sd symlink is broken. So, I wanted to get this symlink back. I used the following code in Terminal Emulator (yes i am rooted with SuperUser):

su (superuser asked for rights, allowed) cd ./mnt/sdcard ln -s ./mnt/emmc external_sd

But I got a "Operation not permitted" error. How can i create the symlink now?

ROM: Onecosmic's ICS 4.0.3 rc1

share|improve this question
    
external_sd is a mount point, not a symlink (hence it's a folder). You'd need to change how the ROM mounts it to go there instead of /mnt/emmc. –  Matthew Read Jan 4 '12 at 0:36
    
@Matthew Read: So, how would I go about doing that? –  Deniz Zoeteman Jan 4 '12 at 10:46
    
I've never even heard of that ROM, so I wouldn't know where to begin. –  Matthew Read Jan 4 '12 at 15:03

1 Answer 1

What's the partition format of the SD card? FAT does not supports symlinks, although I believe it should be possible to create a symlink in ext3 that points to a FAT directory.

Also, there are operations that even root are not allowed to do, such as writing to a read-only drive or writable drives that are mounted read-only. What's the output of 'mount' command?

Also, your command looks fishy; try using absolute path (i.e. do not prepend the path with ./, instead prepend with /):

$ su
# ln -s /mnt/emmc /mnt/sdcard/external_sd
share|improve this answer
    
mount says both sdcard and emmc are vfat. And obviously, the main storage is read/write. Are there any options for me? How could there be a symlink in the beginning? Or is that coded in the software? Because during the upgrade to the new rom, nothing was formatted. –  Deniz Zoeteman Jan 4 '12 at 0:36
    
Btw, yes I did try to use your command, gave same output. Oh and yes the external_sd folder is deleted (to prevent problems with overwriting (read that at least in bash symlink doesn't overwrite)) –  Deniz Zoeteman Jan 4 '12 at 0:45

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.