[openwrt] process communication using ubus
1. What is openwrt
What is openwrt?
2. Introduction to UBUS
ubus by openwrt Interprocess communication in platform development provides a general framework. It makes the implementation of interprocess communication very simple, and ubus It has strong portability and can be easily transplanted to other countries linux Used on the platform. Th ...
Posted by spheonix on Sat, 15 Jan 2022 23:47:19 +0100
Text processing tool SED for day32 shell programming
Course objectives
Master the basic grammatical structure of sedFamiliar with sed common commands, such as print p, delete d, insert i, etc
Windows:
Linux:
vim vi gedit nano emacs
1, sed introduction
1. sed workflow
First, sed saves the row currently being processed in a temporary buffer (also known as pattern space), then proces ...
Posted by MoldRat on Sat, 15 Jan 2022 13:14:46 +0100
Use of variables
Management variables
1. Introduction to Ansible variable
Ansible supports the use of variables to store values and reuse these values in all files of ansible projects. This simplifies the creation and maintenance of projects and reduces the number of errors.
With variables, you can easily manage the dynamic values of a given environment ...
Posted by FredFredrickson2 on Sat, 15 Jan 2022 12:01:26 +0100
Privilege management of 5 Linux system
View and read permissions
View of permissions
ls -l file #View file permissions
ls -ld dir #View directory permissions
Read permission
The attributes of a file are called meta data
A type of metadata that uses a byte to record content
- |rw-r--r--| . | 1 |root| root | 0 | Jul 22 10:44 | file
************************* ...
Posted by davieboy on Sat, 15 Jan 2022 05:31:56 +0100
[concurrency 1] multiprocessor programming: from getting started to giving up
This is bilibili - [End] 2020 Nanjing University "operating system: design and implementation" (Jiang Yanyan) Course notes for
Summary of this lecture:
What is concurrency, why concurrency is needed, and a new understanding of concurrent programming
Abandon the atomicity, sequence and visibility of the program
Concurrency an ...
Posted by amal.barman on Sat, 15 Jan 2022 00:25:49 +0100
Experimental report on Linux command Basics
ls
Abbreviation of common parametersFull name of parameterdescribe-a--allList all files in the directory, including "." Implied file at the beginning-lIn addition to the file name, the file permission, owner, file size and other information are listed in detail-h--human-readableList file sizes in an easy to understand format-tSor ...
Posted by Buglish on Fri, 14 Jan 2022 21:09:35 +0100
How do I create a daemon?
1. Daemon creation steps
Daemons are processes without terminals. They run in the background and are often started when the system boots So how do I create a daemon? Refer to APUE 13.3 to create a daemon:
Call umask to set the permission mask word (umask) of the file created by the process to facilitate the daemon to create the file umask is ...
Posted by universelittle on Fri, 14 Jan 2022 20:13:19 +0100
buddy of linux kernel
buddy algorithm is an old module in the kernel, which solves the problem of adjacent physical memory fragmentation, namely "internal fragmentation problem". At the same time, it takes into account the efficiency of memory application and release. Since the introduction of the algorithm, the kernel has been able to complete good luck o ...
Posted by sparq on Fri, 14 Jan 2022 19:14:33 +0100
stm32mp157a-dk1 compiling firmware for Ubuntu 20.04
preface
The previous articles using Buidroot are almost pure systems. The boot is very fast (~ 5s) and the root file system occupies very little (< 10m). Purity means few functions and many things are not available. You have to check it when you want to use it Have you packed all the common system components? There are also some out of ...
Posted by azn_romeo_4u on Fri, 14 Jan 2022 18:39:49 +0100
systemd service details
1, init process evolutionDevelopment of init The main purpose of developing system D is to reduce system boot time and computing overhead. SYSTEMd (system management daemon), which was originally authorized by GNU GPL protocol, has now changed to GNU LGPL protocol. It is the most hotly discussed boot and service management program today. If you ...
Posted by jassikundi on Fri, 14 Jan 2022 18:06:02 +0100