Last time, I was initially exposed to the mounting problem of Android USB client, so I wrote the first article about the feelings. There are still some problems in many places, some of which are not clear enough, so I want to continue writing.
First, the last verification shows that the device can be mounted, but only one storage device can be mounted at a time.
Secondly, what I said last time about the driver of the device node, there is also a problem, in fact itself there is a tegra-udc.c cre
1. Introduction
To install the application on the SD card and TF card, the android system does not support it by default. It has only one ASEC mount point:/mnt/secure/ASEC. In my system, this mount point is occupied by/mnt/sdcard, so the TF card is not supported. To solve this problem, there is no other way except to read and understand the code. To facilitate understanding of the following description, Let's first look at the vold (managing periphera
In the previous blog article "Android 2.3 SD card mounting process (I)", we briefly introduced the SD card mounting process. It includes the transmission of event messages from the kernel layer to the user layer, and the introduction of vold. This article will continue to introduce the mounting of the SD card, but this article does not involve detailed analysis of the Code, because this part of the online information, I will post it at the end of the
"title=" QQ picture 20160807195603.png "alt=" Wkiol1enij_si5kvaabe3p3gdyc097.png "/>sed [OPTION] ... ' Script ' [Input-file] ...650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/85/85/wKioL1enMerjFSyzAAAtSsZ9Y0I451.png "title=" Sed.png "alt=" Wkiol1enmerjfsyzaaatssz9y0i451.png "/>Script: Address delimitation Edit CommandCommon options:-N: Do not output the contents of the mode space to the screen-E: Enable multi-point editing-f/path/to/sed_script_file: one edit command per line-R: Supp
represented2-2: All even lines are representedsed common editing optionsD: Delete the contents of "B place"Sed ' 1,5d '/etc/fstab to delete 1 rows and 5 rows of contentSed '/^uuid/d '/etc/fstab means to delete each line beginning with the UUIDSed ' 3d '/etc/fstab means to delete the third rowSed ' 1-2d '/etc/fstab ind
Using the startup script init.rc in Android, you can perform simple operations in the initialization of the system.Init.rc Startup script path: system/core/rootdir/init.rcContent:
Commands: Command
Actions: Actions
Triggers: Trigger Condition
Services: Service
Options: Option
Properties: Attributes
Commands are some basic operations. Such as:Mkdir/systemMkdir/data 0771 System SystemMkdir/persist 0771 System SystemDevwait/dev/block/mmcblk0p12Mount ext3/dev/block/
0 1355M 1321M sleep 0:26 0.20% oracle 2266 oracle 1 60 0 1357M 1317M sleep 811:42 0.18% oracle 11628 smspf 7 59 0 3440K 2088K sleep 0:39 0.16% sgip_client_ltz 26257 smspf 82 59 0 447M 178M sleep 533:04 0.15% java
We noticed that the CPU consumed by the process No. 2266 is only 0.18%, which is obviously not busy, so the bottleneck is probably on Io.Use iostat to check the IO status.
gqgai:/home/gqgai>iostat -xn 3 extend
triggers (triggers). The action and trigger condition form is:
On
An example is as follows:
On init
Export path/sbin:/system/bin:/system/xbin
Mkdir/System
Init indicates a trigger condition. After this trigger event occurs, setting environment variables and creating directories is called an action"
(3) services usually start an executable program. Options are additional content of the service for use with the service.
Service vold
News
[PHOTO] Google's e-pet made Android 7.0 eggs: Memories
Android 7.0 new features: official or third-party app at a Glance
Tutorial
Understanding Android Storage System ArchitectureThis paper mainly introduces the whole process and architecture design of the module Mountservice and vold related to storage. Mountservice:android Binder service, which runs in the System_server process for message communication with
Author: gzshun. Original Works. Reprinted, please indicate the source!
This seriesArticleThe disk management section of the Android system will be explained in detail. You can familiarize yourself with the architecture and implementation principles of the entire android system through this breakthrough.
Android disk management involves four source codes:1. Linux kernel: Android is built on the Linux kernel. The underlying part is the responsibility of Linux kernel for detecting hot swappi
Timeout = 5 # Time on the Grub configuration page at startup
Splashimage = (hd0, 0)/grub/splash.xpm.gz # Grub background image
Hiddenmenu # Hide a menu
Title Red Hat Enterprise Linux Server (2.6.18-8. el5) # operating system title
Root (hd0, 0) # operating system boot Partition
Kernel/vmlinuz-2.6.18-8.el5 ro root = LABEL =/rhgb quiet # Set the loaded kernel initrd/initrd-2.6.18-8.el5.img # Set the loaded memory disk file
Solution:
1. input the following statements in the grub configuration envi
次被模式匹配到的字符串 加修饰符 g: 全局替换 i: 查找时忽略字符大小写 s///: s###, [emailprotected]@@ --使用s时,不仅可以用/来做分隔符,还可以使用#和@ \(\), \1, \2 --支持后向引用 : 引用模式匹配到的整个字符串Example: Take/etc/fstab file as an example##/etc/fstab# Created by Anaconda on Mon 16:27:41## Accessible filesystems, by reference, is maintained under '/dev/disk '# See mans Pages Fstab
Critical situations of RedhatEnterprise5 system faults include grub configuration file loss, fstab partition mounting table loss, and/boot system boot directory deletion failure recovery. i. fault recovery for Grub configuration file loss: the Grub configuration file usually refers to/boot/grub. conf file...
The critical situations of Redhat Enterprise 5 system faults mainly include the loss of grub configuration files, the loss of
, Optimistic Locking mode. The record is locked only when you call the update method. Before that, you can update, insert, or delete data.Adlockbatchoptimistic = 4, optimistic batch update. The record is not locked during editing. Modification, insertion, and deletion are completed in batch mode.};⑤ For options, refer to the introduction to the execute method of the connection object in this article.[5]Record set traversal and updateAccording to the users table created by executing the SQL comma
follows:On initExport path/sbin:/system/bin:/system/xbinMkdir/SystemInit indicates a trigger condition. After this trigger event occurs, setting environment variables and creating directories is called an action"
(3) services usually start an executable program. Options are additional content of the service for use with the service.
Service vold/system/bin/voldSocket vold stream 0660 root Mount
Service boo
Article Title: Use a USB storage device under Solaris. Linux is a technology channel of the IT lab in China. Some basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open-source systems 1. Earlier versions of Solaris vold cannot detect hot swapping immediately. You need to restart vold to identify it:
Insert the usb flash drive into the usb port a
M 165.4 M 355.9 M 32%/System/Dev/block/mmcblk0p26 1.1G 115.1 M 982.7 M 10%/Data/Dev/block/mmcblk0p2 290.5 MB 39.1 M 236.4 M 14%/Cache /Dev/block/vold/179: 65 14.8g 428.8 M 14.4g 3%/mnt/sdcard/Dev/block/vold/179: 65 14.8g 428.8 M 14.4g 3%/mnt/secure/ASEC#
The first note is that the tmpfs file system is a virtual memory-based file system that does not occupy Rom space. The last two are SD cards and only t
Remove_if
Fwdit remove_if (Fwdit first,fwdit last, Pred PR);
Removes from [first,last] all elements that enable the function PR to return true, returning to the location after the last element between the new zone
Remove_copy
Outit remove_copy (InIt first,init last,outit x,const t val);
Delete the element Val from [first,last] and copy the remaining elements to the beginning of the X interval, returning the position of the last element being copied
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.