Closed
Bug 821357
Opened 12 years ago
Closed 11 years ago
DeviceStorage needs to see /sdcard which which has no vold volume
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 890144
People
(Reporter: dhylands, Unassigned)
References
Details
Attachments
(1 file)
1.69 KB,
patch
|
Details | Diff | Splinter Review |
Currently, DeviceStorage relies on the VolumeManager to know that an sdcard volume exists and make /mnt/sdcard available to gallery and music apps.
Some devices, like the Galaxy Nexus, and the pandaboard don't have separate partitions for the sdcard and thus have no sdcard volume as far as vold or VolumeManager is concerned.
This bug is all about making DeviceStorage be able to see the sdcard directory even though it can't be shared via UMS.
This is really a temporary measure until full MTP support is available.
Reporter | ||
Updated•12 years ago
|
Summary: DeviceStorage needs to see /sdcard which which has not vold volume → DeviceStorage needs to see /sdcard which which has no vold volume
Comment 1•12 years ago
|
||
Maybe this bug is the same as 853791
Reporter | ||
Comment 2•12 years ago
|
||
(In reply to james.zhang from comment #1)
> Maybe this bug is the same as 853791
Not really. Bug 853791 related to bug 838038. I'm currently in the process of adding support for internal and external sdcards.
This bug is more about supporting phones which don't have a FAT internal sdcard
Comment 3•11 years ago
|
||
Hi there,
I'll pick this up as I need to get it working rather urgently. Can someone explain the situation? Is inclusion of a proper vold.fstab the way forward as I have created the machinery to put this in place but not sure if the config is correct...
Reporter | ||
Comment 4•11 years ago
|
||
Including a proper vold.fstab won't work since the SW is running from the sdcard and its got multiple partitions, etc. (vold.fstab would only work if the entire sdcard was formatted as a single FAT volume).
Once bug 890144 lands then we'll be able to add any old volume, so you could create a volume.cfg file for the pandaboard which maps the sdcard volume to some directory (probably on /data like /data/sdcard).
If you want something faster and hacky, then I've also been using a patch which I'll attach to this bug. You need to replace "storage /data/storage" with "sdcard /data/sdcard"
In either case, you'll also need to create the /data/sdcard directory, which would probably happen in the init.rc or init.b2g.rc file.
Reporter | ||
Comment 5•11 years ago
|
||
Reporter | ||
Comment 6•11 years ago
|
||
I'm going to close this now that bug 890144.
If you want to create a storage area you can now just create /system/etc/volume.cfg file with a line in it like:
create sdcard /full/path/to/sdcard
for devices like the Nexus 4 which have no dedicated partition nor physical sdcard.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•