After/dev/coreb is available, uClinux also provides corebld. It is used to read elf files as common files and extract executable code, call the functions provided by/dev/coreb to write the executable code to L1 instruction memory or SDRAM of the
1. open the file kernel data structure
1. A process opens two files
File status flag: read, write, append, sync, non-blocking, etc.
2. A process opens the same file twice
3. Two processes open the same file
Example program:
C ++ code
1. File System Description
File systems are generally divided into two types: system and user. System-level file systems: ext3, ext4, DFS, NTFS, etc ,, I will not introduce the complicated distributed or system-level file system,
The architecture
1. Simple and in-depth file traversal:
// Nsfilemanager * fm = [[nsfilemanager alloc] init]; // create a file manager nserror * error = nil; // display the content in the path. The function is similar to the LS-a command // The returned value is to
As there are too many notes in Chapter 10, I will post the previous notes first.
1. functions used to open various devices
Device
Function used to open a device
File
Createfile (pszname is the path name or UNC path name)
Original: http://wurong81.spaces.live.com/blog/cns! 5eb4a630986c6ecc! 393. Entry
Radix tree used by Linux Kernel1. Introduction
In the page cache of the Linux kernel, each data block of a file can correspond to only one page cache. It manages
2013-03-02 wcdj1 fork -- "Create a new baby"
#include #include #include int glob = 6;// external variable in initialized datachar buf[] = "a write to stdout\n";intmain(int argc, char** argv){int var;// automatic variable on the stackpid_t pid;var =
Translator's note:Original article address:Http://www.linuxforums.org/articles/understanding-elf-using-readelf-and-objdump_125.htmlThis is the first time I have translated a technical article. There may be some typos, especially when some statements
When you encounter some underlying problems with the x86/x64 platform in actual work, you may often go through the manuals provided by Intel or AMD if you do not understand them, I need to refer to the Manual next time I encounter a problem. Now let'
I am not sure about these three items when reading a book. Well, I will write a blog to summarize them.
File descriptor (process level ):
1) there is a record item in each progress table. The record item contains an open file descriptor table,
Linux Process understanding and practice (2) zombie and orphan processes and file sharingOrphan process and zombie process orphan process: if the parent process exits first and the child process has not exited, the parent process of the child
Linux AIO Mechanism
Linux's I/O mechanism has gone through several stages of evolution:1. synchronous blocking I/O: User processes perform I/O operations until the I/O operations are completed.2. Non-blocking I/O synchronization: the user program
Description and application of File Memory ing FunctionsBy jefong 2005/0407
The following functions are used in File Memory ing: 1) createfilemapping2) flushviewoffile3) mapviewoffile4) mapviewoffileex5) mapviewoffilevlm6) openfilemapping7)
Discuss the atomicity of the output content of the error_log function in php
A few days ago, I discussed with my colleagues how to ensure that all the logs output by error_log have a unique identification header in a login php call. The conclusion
This article introduces a simple database written by China's IT veteran, which is not as powerful as the database we use, but it is worth learning from. Can be used in a specific environment, more flexible and convenient.
The database is named
The way that shared memory works is to map a physical memory to the respective virtual address space of different processes so that each process can read the same data to enable process communication. It is the most efficient method of data exchange
Storage management, LVM, and file systems (bottom) Navigation: Managing Logical Volume file systems managing logical volumes one logical volume mapping one or more physical volumes, depending on the number of copies of data you want to
This series of tutorials is copyright "I spring and Autumn" All, reproduced please indicate the source. for Video tutorials, please visit "I Spring" (www.ichunqiu.com).PrefaceThe last time we have introduced the basic method of virus signature
Most Unix file I/O requires only 5 functions: Open,read,write,lseek,close. These functions are non-cached I/O, without caching refers to a system call in the kernel that is called by each read and write. These functions use three header files:
This article discusses the atomicity of the output content of the error_log function in php. Discussing the atomicity of the output content of the error_log function in php a few days ago, I discussed with my colleagues how to ensure that the log
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.