We have moved to a new Sailfish OS Forum. Please start new discussions there.
7

request: android files not cluttering /

asked 2014-03-17 21:24:27 +0300

dsilveira gravatar image

updated 2014-07-30 17:45:00 +0300

jiit gravatar image

I wish that a virtual file system would be implemented for AlienDalvik to use, maybe using systemd cgroups, or docker or something, just having anything, related to android, sit in a /android, or /AlienDalvik folder, or anything else, pretty much, would be better than having those files scattered all around!

EDIT 1:

A few examples:

specific to Android: /data /sdcard

other clutter, I'm not sure if it's Android specific: /acct /cache /config /d /drm /firmware /persist /swap /tombstones /vendor

(some of these might not be required by Android but mer, I'm not sure, but for instance, what's the point of /config, when there's /etc, what's the point of /cache when there's /tmp, etc....)

edit retag flag offensive close delete

Comments

Can you show an example list of these files that you are referring to?

Sage ( 2014-03-17 21:36:45 +0300 )edit
1

Sorry for the late answer. Yes I can show a few examples, added them to the question ;)

dsilveira ( 2014-04-16 15:04:17 +0300 )edit

1 Answer

Sort by » oldest newest most voted
3

answered 2014-04-23 01:03:58 +0300

Sage gravatar image

These directories are there on the system because of two reasons: 1) Android support in Sailfish OS requires/uses some of them 2) Sailfish OS is utilizing libhybris and through that some of these directories are being used

This probably is not optimal thing on all the ways and maybe with some work some of these directories could be cleaned, however as long as this is mainly cosmetic thing it has a bit lower priority than everything else. But we are looking into this as well, and checking if we can make it better without compromising the current system architecture.

edit flag offensive delete publish link more

Comments

Folder cleanup would also have benefits in problem cases. E.g. after last update all android apps failed to launch. I removed all android apps and reinstalled android support. Apps still failed to launch. It came out that android installation has placed so many files in different places that they all don't get cleaned up when the support is removed. Only thing which helped in my case was to run dalvik-cleanup script from openrepos which removed all android related before reinstalling the support

matrixx ( 2014-04-23 15:18:42 +0300 )edit

@Sage, I completely understand all of that, and I agree with you that this is not my top complaint, but it is something that should be fixed soon, because of two reasons: 1) if you followed my question thoroughly, I asked for one of possible different implementations of virtual filesystems, so that in the eyes of alien-dalvik or libhybris, everything looks the same, but in reality, stuff gets put in a sane place. So it is something logic and easy to do; 2) it is annoying not to do it, because when you're looking at your root you see stuff everywhere, that just shouldn't be there, and worst, sometimes you just don't know what it is or if it should be there, as @matrixx said

dsilveira ( 2014-05-01 17:16:04 +0300 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2014-03-17 21:24:27 +0300

Seen: 201 times

Last updated: Apr 23 '14