Closed Bug 1067149 Opened 11 years ago Closed 7 years ago

With MTP combine /data and internal sdcard partition

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ikumar, Unassigned)

References

Details

With MTP, it should combine /data and internal sdcard partition so we don't need a separate internal sdcard and waste precious storage space. Eg. /data is 100% full of application data, but /storage/sdcard0 is 5% full. Then an app wants to write more to /data and fails, even though /storage/sdcard0 may have gigs free! Current MTP setting doesn't support this.
Android also does it this way.
You can do this today by removing the internal sdcard partition and giving its space to the /data partition. You'll lose the ability to share the volume via USB Mass Storage. You then setup the internal "volume" using /system/etc/volume.cfg This is how the Nexus 4 is configured. This doesn't really have anything to do with MTP and I would consider this to be part of the vendor build.
Thanks Dave for the suggestion. I tried it out and added this volume.cfg on a device which doesn't have any internal sdcard partition. create internal /data/internal_sd But, after this I noticed in Settings->Media storage, the external sdcard gets listed as "Internal Storage" and the internal volume i created gets listed as "SD Card Storage"! This looks like a bug in the logic. Can you please take a look.
Flags: needinfo?(dhylands)
I think that the software expects the internal storage area to be called sdcard, and then the external storage area can be called anything else.
Flags: needinfo?(dhylands)
Depends on: 1085743
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.