Live data from Hacker News

Android File System Hierarchy

anantshri.info

21–25 of 25 posts

Re: Android File System Hierarchy

#21
post #17

Cool, but why can't I see this hierarchy when I plug my HTC Droid into my Mac? I certainly don't see a /data/data directory, even with ls -a. Do I have to root the thing?

If you want to look at the full hierarchy, get the android developer tools and use adb. If you just plug it into your mac, you'll see the SD card instead.

Re: Android File System Hierarchy

#22
post #6

Earlier quoted context omitted.

let's spin it the other way: what advantages would following the LSB have? there is little need for standard linux utilities to be easily ported to android, the standard utils are not included, and package management is dealt with in an android-specific way

> there is little need for standard linux utilities to be easily ported to android There is need for that. I've been trying to ssh to my Android and use it like I would use a regular computer, and it's a nightmare to set up.

Android is a regular computer, only one where the app frameworks are limited by intent and with reason.

Re: Android File System Hierarchy

#23
post #19
post #11

Earlier quoted context omitted.

I had no trouble setting this up with QuickSSHd (not affiliated): https://market.android.com/details?id=com.teslacoilsw.quicks...

The problem isn't getting ssh access (Cyanogen ships with the dropbear ssh server), but getting decent userland tools and possibly some form of package management. This is hard precisely because Android doesn't obey the LSB and assumes that mostly everything will be done in Java. It would be very nice to have an OS designed for phones which would be a standard Linux with additional stuff on top. Sadly, Android is mor…

It would be very nice to have an OS designed for phones which would be a standard Linux with additional stuff on top. Sadly, Android is more of a Linux kernel without standard tools but with a bulky alien Java-based stuff to do everything.

Maemo/Meego is/was exactly that: Debian Linux complete with apt, with a tablet and phone UI.

Re: Android File System Hierarchy

#24
post #19

Earlier quoted context omitted.

The problem isn't getting ssh access (Cyanogen ships with the dropbear ssh server), but getting decent userland tools and possibly some form of package management. This is hard precisely because Android doesn't obey the LSB and assumes that mostly everything will be done in Java. It would be very nice to have an OS designed for phones which would be a standard Linux with additional stuff on top. Sadly, Android is mor…

It would be very nice to have an OS designed for phones which would be a standard Linux with additional stuff on top. Sadly, Android is more of a Linux kernel without standard tools but with a bulky alien Java-based stuff to do everything. Maemo/Meego is/was exactly that: Debian Linux complete with apt, with a tablet and phone UI.

Has anyone tried creating a Debian/Android distribution (like Debian/kFreeBSD)? Mozilla's B2G (Boot To Gecko) OS uses the Android kernel without the Dalvik VM or frameworks. I don't know what B2G's userland looks like.

A Debian/kAndroid distro could be what Maemo/Meego wanted to be, but benefit from Debian's popular userland and Android device support provided by Google and device manufacturers.

Re: Android File System Hierarchy

#25
post #17

Cool, but why can't I see this hierarchy when I plug my HTC Droid into my Mac? I certainly don't see a /data/data directory, even with ls -a. Do I have to root the thing?

I'll try the devkit. Right now, I do see two mounted devices (phone and sd).
Post reply on HN