Common Linux header files
/* Linux/Drivers/sys-print.c * Author: woodpecker * use sysfs to implement a dynamic printk. * this file is subject to the terms and conditions of the GNU General Public * license. see the file copying in the
After Linux is installed, you can continue to learn about Linux as long as you have time. I didn't know how to start at the beginning. I had a development board named mini2440 at hand. According to the operation manual of the Development Board,
In setup_arch:
1. parse_cmdline (): Based on the mem information transmitted by uboot, early_mem () is called to add the physical memory information to the meminfo struct using arm_add_memory.
2. paging_init (): This is the key function
1. Modify the/etc/profile file
Features: All users' shells have the right to use the environment variables you configured
NOTE: If your computer is only used for development, we recommend that you use this configuration because all users' shells
There are two types of Linux file system links: hard link and symbolic link. You can use the ln command to create a hard link by default. For more information about how to use the ln command, see the man manual.
The hard connection directly
1. RoleModify the attributes of the ext2 and ext3 file systems and use the permission superuser.
2. FormatChattr-RV-+ = aacddijssu-vversion file or directory
3. Main Parameters-R: recursively processes all files and subdirectories.-V: displays the
In the 2.6 series version, you can easily create device nodes by using udev to manage device files. You do not need to use mknod to create device nodes. In this article, we use the minimum encoding to describe how to create a device node.
//
Understanding Linux two-way linked list
Original article:
Http://blog.csdn.net/leisure512/article/details/5188986
I cut some of them and added them to the diagram.
Hlist_head, a two-way linked list in the Linux kernel, is defined as
I. NTFS write problems:
Resolv the problem that can't write file in NTFS file system on Linux:
Mount-T ntfs-3g/dev/sda3/mnt/wind
Fatal: module fuse not found.NTFS signature is missing.Failed to mount '/dev/sda3': invalid argumentThe device
1) solve the inconsistency between version magic
Original article: http://blog.sina.com.cn/s/blog_7d638eda010118rh.html
Http://tldp.org/LDP/lkmpg/2.6/html/x380.html
After compiling a kernel module, if the machine that installs the module
How to install WebSphere and Applications in Linux (858)
======== Install JDK, IBMJava118-SDK-1.1.8-4.0.i386.rpm ========Suppose you want to download RPM to/root/RPMS and input the following command from the command
This article is a small post, which can be ignored by experts.
If you have a program, a board, a file system, a computer, and a serial line, but you don't know how to start it, let the board run your program, then you should read this article
System V or POSIX?
Which one should I use? This is a problem...
Relatively speaking, I prefer the latter POSIX MQ
Posix mq Overview: Man mq_overview
Simple implementation code:
#include #include #include #include #define MY_MQ_NAME
With the support of VFS, user-State processes can use read and write to read and write file systems of any type, but how can we operate files without such a system calling in the Linux kernel? We know that when read and write are in the kernel state,
I. rwlock_t
Read/write locks are always initialized in this way
rwlock_t my_rwlock = RW_LOCK_UNLOCKED
But not on Kernel 2.6.30 ....
Error: 'rw _ lock_unlocked 'undeclared (first use in this function)
Error: (each undeclared identifier is reported
Mr Chen has been engaged in Embedded Development in Linux. As a front-line engineer in development, his views on many issues may be more practical. Therefore, by email, he will discuss embedded development issues, ask him to talk about his views:
Q:
Use of select and poll in Linux
Functions of the select () function
The system calls the back-end Implementation of select and poll, and uses these two system calls to query whether the device can read or write, or whether it is in a certain state.
Document directory
1. Definition
2. Related functions
The kernel timer is a mechanism used by the kernel to control the scheduling of a function at a certain time point in the future, and is in the context of interruption. Therefore, the
First, the host machine is WINXP and the IP address is 192.168.1.18. Fedora Linux is installed with VMware and the IP address is 192.168.1.252. If hamachi is installed (software that facilitates online games with people), Linux cannot access the
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