Introduction to ramdisk. img, system. img, userdata. img In the Android image file, ramdisk Image
After the Android source code is compiled, three image files generated in the out directory are ramdisk. img, system. img, userdata. img, and their corresponding directory tree root, system, and data.
Ramdisk. img is the
What is RAMDisk, I'm afraid I don't need to say that we all know. As for the advantages of RAMDisk, Baidu you can see because Ramsik has a fast read and write speed so "temporary files can speed up", "Install software can be opened seconds" and so on various optimization methods, more sharp speech also think that using RAMDisk can prolong the life time, protect t
The following two articles are very good articles on the RAMDisk file system in the ARM9 forumToday did a test, let Linux2.6.29.4 from the RAMDisk root file system to start a successful, summed up.It involves more content, a lot of things no longer detailed, for further study please consult the relevant information (Baidu or Google a lot).Development environment: Fedora 9Cross-compilation toolchain: ARM-LIN
1. ramdisk is the smallest Linux rootfs system. It contains all Linux systems except the kernelTools required for import and management include the following directories: Bin, Dev, etc, home, Lib, MNT, Proc, sbin, USR, VAR. Some basic tools are also required: Sh, ls, CP, MV ...... (In the/bin directory); necessary configuration filesPieces: inittab, RC, fstab ...... Located in (/etc directory); required Device Files:/dev/tty *,/dev/CONsole,/Dev/MEN ..
View the ramdisk size:
Fdisk-L/dev/ram0
The followingArticleTransferred from:Http://www.linuxdiyf.com/viewarticle.php? Id = 26952
1. What is ramdisk?
Ram: memory, Disk: disk, which can be used as a partition in Linux. It is called ramdisk. For files that are frequently accessed and will not be changed, you canPlacing them in memory through
Today did a test, let Linux2.6.29.4 from the RAMDisk root file system to start a successful, summed up.It involves more content, a lot of things no longer detailed, for further study please consult the relevant information (Baidu or Google a lot).Development environment: Fedora 9Cross-compilation toolchain: ARM-LINUX-GCC 4.3.2 with EABIEmbedded Linux kernel version: 2.6.29.4-friendlyarm. When I wrote the Post yesterday, I did not know the details, tod
Introduction in Linux, there is a special feature-initializing the memory disk initrd (initial RAM disk) technology, and the kernel supports compressed file system images. With these two features, we can enable Linux to initialize memory disks from an early stage.
Introduction
In Linux, there is a special feature-initializing the memory disk initrd (initial RamDisk) technology, and the kernel supports compressed file system images. With these two fun
1. What is ramdisk?
Ram: memory, Disk: disk, which can be used as a partition in Linux. It is called ramdisk. For exampleFiles that are frequently accessed and not changed can be stored in the memory through ramdisk, which can significantly improve system performance. Ramdisk works in Virtual File System (VFS)Layer, c
These days the reference to the country embedded experimental manuals and online information to complete the U-boot customization, core customization, RAMDisk root file system production, and success. Strike, summarize. This article refers to a lot of articles on the Internet, it is not noted. Thanks to the help of the heroes, if there is similar, hope forgive me.Development environment: Red Hat Enterprise Edition 5Cross-compilation Toolchain: arm-lin
directory# Cp config_mini2440_t35. config# Make menuconfig arch = armOpen the configuration menu and modify the following two configuration items:A): General setup --> select initial Ram filesystem and RAM disk...B): device drivers --> Block devices --> select the ram block device support item.
Check whether optimize for size is selected. If not, optimize the kernel size and configure it as needed.Modify (8192) the default RAM disk size Kbytes option(4096) default RAM disk size KbytesThe reason
this modification is that the RAMDisk I made later is 4096KB in size. Of course, if you want to make 8192KB size RAMDisk, here is the corresponding 8192, and so on. But the smallest system, is not so big ramdisk. The default configuration for this item is (4096), which I had previously changed, so it was (8192). If this size does not match the
Today, Kingston's 1g memory stick is ready. In addition to the original 1.5 m memory, a total of GB memory is allocated, and MB is used as the virtual hard disk. The swap files, temporary system files, and temporary webpage files are all placed on it.
It's really cool. It's faster to open files and browse the Internet, especially for memory-consuming software such as Photoshop, which is less likely to read hard disks. Previously used in this document
Google Earth always has a very bad feeling, a
OverviewYou need to use INITRAMFS in your recent work. Initramfs is a RAM FS that enables Linux systems to be started in stages. There are two main ways to use Initramfs: one is to compile the minimum file system directly into the kernel image, the other is to make the RAMDisk, then load the RAMDisk into memory and assign it to the kernel. Either way, the kernel-driven support is required, so using INITRAMF
[Bug] ramdisk loading fails and the system crashes during Linux kernel startup.Bug Description: ramdisk loading fails and the system crashes during Linux kernel startup.Log information:
RAMDISK: Couldn't find valid RAM disk image starting at 0.
UDF-fs: No partition found (1)
NILFS: Can't find nilfs on dev ram0.
(1,15):ocfs2_fill_super:1001 ERROR: super
The U-boot customization, kernel customization, and ramdisk root file system have been completed by referring to the China-embedded lab manual and online materials. Let's sum up. I have referenced many articles on the Internet, so I will not mention them one by one. Thank you for your help.
Development Environment: Red Hat Enterprise 5
Cross-compilation tool chain: arm-linux-gcc4.3.2
Embedded Linux kernel version: friendly arm of the mini2440 Developm
AndroidAfter the source code is compiled, the system. IMG, ramdisk. IMG, and userdata. IMG image files are obtained. Ramdisk. IMG isFile system, system. IMG includes major packages, libraries, and other files. userdata. IMG includes some user data. After emulator loads these three image filesLoad System. IMG and userdata. IMG to the system and userdata directories in the
RAMDisk virtual memory disk software can be squeezed dry memory potential performance, but a problem, RAMDisk virtual memory disk to occupy the amount of physical memory to be considered appropriate? After a small series of groping research, finally got a more reliable conclusion, we can according to the suggestion of small series toss.
Do not know how to use RAMDisk
In Android emulatorSystem. IMG, userdata. IMG, and ramdisk. img
1. Structure of the android File SystemAfter the android source code is compiled, the system. IMG, ramdisk. IMG, and userdata. IMG image files are obtained. Ramdisk. IMG is the file system of emulator. IMG includes the main packages, libraries, and other files, userdata. IMG includes user data. Aft
Unpack
1. view the file format: file ramdisk. img
Ramdisk. IMG: gzip compressed data, from UNIX
Ramdisk. IMG is a compressed package. Of course, ramdisk. IMG compression is not required
2. decompress the ramdisk. IMG package: gunzip-S. IMG
Give your Linux Device Ramdisk snapshot-general Linux technology-Linux programming and kernel information. The following is a detailed description. Recently, I upgraded my laptop's memory from MB to 2 GB in one fell swoop. The pleasure of using the notebook is unmeasurable. The previous usage habits have been completely broken. Now, we are not stingy about how much software we need to use can be opened, with the excellent caching technology of the Lin
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.