Android's system catalog says

Source: Internet
Author: User
Tags root directory linux

I. Illustration

Android is based on Linux and is different from what we normally think of Windows. Its file structure is similar to Linux, so its root directory is/, and then underneath is:

1. MNT: mount point directory, sdcard in the modified directory

2. Etc: System main configuration file

3. System:android System files

4. Sys:linux Kernel files

5. Proc: Runtime files

6. Init.rc: Startup script

7. Default.prop: System Properties configuration file

8. Data: User program Directory

9. Dev: Equipment files

Two. Introduction to each catalogue

This is the Android root directory under the directory, according to the previous partition structure can be roughly see the location of each directory and the approximate function,

Here is a description of several important catalogs/documents:

    • MNT: mount point directory, sdcard in the modified directory
    • ETC: System main configuration file
    • System:android System files
    • Sys:linux kernel files
    • Proc: Run-time Files
    • Init.rc: Startup script
    • Default.prop: System Properties configuration file
    • Data: User program Directory
    • Dev: Device files

32 Kinds of File operations

1. Memory, file operation

Each application on the Android device has a directory of files placed in the sandbox. Saving a file in a sandbox prevents access to other applications. Each application's sandbox directory is a subdirectory of the device/data/data directory, and is named by the application package by default.

We use the Openfileoutput and Openfileinput APIs to manipulate the files, the build location is in the/data/data directory of the device/files under the subdirectory.

2.SD Card

Located in Mnt, mount point directory, sdcard in this directory. All we do with the getExternalStorageDirectory API are the files on that.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.