Question

it is used in android phone. Because my ROM is big enough(around 8G), and my SDCard has been full with various files, so i want to link a big file stored in ROM to SDCard so as to save the treasure space of SDCard( the big file cannot be identified by a software except it is in /sdcard patition ) first i take an test to validate the method: try to link a file /data/test.mp3 to /sdcard/test_fat32.mp3, then in the terminal (#su), i tried to make a symbolic link like this :

ln -s /data/test.mp3 /sdcard/test_fat32.mp3

but failed:

ln: /sdcard/test_fat32.mp3: Operation not permitted

Googling for a while, and i found that i cannot create symbolic links with fat32, i dont want to format the SDCard to ext4, because i want to make such an app to share with my friends. you surely cannot demand everyone of the format, what's more, maybe many apps cannot identify ext4 files. does anyone have a good idea to realize it? any help appreciated!

Was it helpful?

Solution

FAT32 have no data type to save links. My best guess is to format SD to ext2 and use something like ext2fsd if you want access it from windows. Or reconsider the fact that you really need this.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top