Article Title: Delete the stubborn virus of the USB flash disk and restore a quiet space in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
USB flash drive virus. This file is displayed under linux every time.
Ls-l found that all attributes are not?
The result cannot be deleted.
The reason for the query
the process is executing, so the color is definitely located in this queue whenis implemented in the expiration queue. The resulting effect not only grabs the process and puts it into the last of the priority queueand put it in an expired queue one by one this ensures that it will not be executed for a period of time. Because real-time processesDoes not expire, so it is an exception. They are moved only to the last face of their priority queue, which is not placed in the expiration queue. InIn
process, the kernel can:
DormancyIndicates that system calls can use most of the functionality provided by the kernel
Can be preemptedRequired to ensure that the system call is Reentrant
1. The last step of binding a system call1,在系统调用表的最后加入一个表项。2,对于所支持的各种体系结构,系统调用号都必须定义于2. Accessing system calls from user spaceLinux itself provides a set of macros that are used to directly access system calls._syscalln() //n的范围从0到6,代表需要传递给系统调用的参数个数。For example:long open(const
First of all, this is not a lyric, but at the moment the car is the scene, the car driving in the high-speed road back home, through the fast-moving windows, the darkness outside, the night has been deep, the road car is gradually less, such a night can make a person's inner peace.In the dead of night is the time to think home, this is a sentence lyrics, can express my mood at the moment. Although the distance from the last home only a week, the distance back is half a month, but the feeling of
(struct kobject kobj, struct kobject target, char name);
3. Delete new properties
Deleting an attribute is done through the function Sysfs_remove_ file (): void Sysfs_remove_file (struct kobject kobj, const struct attribute attr);
Symbolic connections created by Sysfs_ creat_ link () can be removed by deleting: void Sysfs_remove_link (struct kobject kobj, char name);
4. SYSFS Convention
This guarantees that only one value is exported per file.
Organize your d
programming must use the GNU C
Kernel programming lacks a memory protection mechanism like user spaceThe memory in the kernel is not paged.
Difficult to perform floating-point arithmetic during kernel programming
The kernel gives each process only a small fixed-length stack
Because the kernel supports asynchronous interrupts, preemption, and SMP, you must always be aware of synchronization and concurrencySMP: Symmetric multi-processing system.Common ways to solve competition: sp
information in a target file. Its biggest function is disassembly. The binary instruction in the text section.
LDD: Lists the shared libraries that are required by an executable file at run time.
STRINGS: Lists all printable strings in a destination file.
STRIP: Removes the information from the target file for the symbol.
NM: Lists the symbols defined in the symbol table for a target file.
Size: The name and size of the section in the destination file.
20135302 Wei
the efficiency of the class does not go up, after class review how to do, if the method is not right, will spend a lot of time, or even stay up, spend more time to learn, also can not achieve the ideal Only a small number of students can "cope with freedom, can not only remember the notes, but also have time to follow the teacher's explanation progress of thinking." And the mind map template can easily solve this problem, not only the teacher's preparation is concise, the students do not take n
It seems that people are always inspired to think alone.
In addition, it's faster.
I have been thinking about it.
It's hard to open the BLOG and find that valuable inspiration has flown away...
Quiet at night, blue-colored fluorescence with only the mouseIt turns out that I will also feel lonely.Think about the wonderful past.High school freshman sophomore...Some people say that high school and university time is worth cherishing.I used to think
With quiet read CLR via C # (03)-object creation and type conversion
This section is not complex. It mainly introduces the process of creating a class instance and the knowledge of switching between types.
I,
Create object
CLR requires the use of the new operator to create an object. The IL command generated by this operator during compilation is newobj. For example:
Student Xiaojing = new student ("Xiaojing", "1986 ");
InCr
Take a few days of annual leave home to rest.
Mom and Dad went to work this morning,
There is a power outage at home,
The computer cannot access the Internet,
The mobile phone is automatically shut down when no power is available,
TV cannot be watched,
Telephone troubleshooting is temporarily unavailable,
I was totally isolated from the rest of the world,
You don't have to worry about it.MSNLet's see who is online and who has changed their nicknames,
I don't have to worry about s
Fish, I am also a bear's paw, and I am also a duck. Neither of them can be used together, and neither can play the fish nor take the bear's paw. Student, I am also a hacker, and I am also a hacker. The two cannot be used simultaneously, and they can also be used to give birth and take justice. If I were born, I was born, and I was born more than I was born, so I did not agree. If I died, I was also evil, and all evil was worse than the dead, so I suffered from nothing. For example, if we are mor
What are the purposes of blog writing? I think there may be the following:
1. emotional catharsis
2. Record Data
3. attract people's attention
4. Teaching and educating people
5. Follow-up
6. Bored
What is my purpose? Now it's boring.
What a poor blog is, and the content is basically meaningless.
Is it suitable for me to write a blog?
Just like not everyone is a writer, a singer, or a chicken or duck.
This type of blog communication should be a rare
I thought too much about the results, but the results were unexpected. It seems that it will be better in the future, and it will be a waste of time. In fact, I should have thought of it as well. I am so stupid. I think it's not what I want, it's no loss, it's just a little too bad. Sometimes it may be a bit arrogant, but it cannot be changed. The past makes the scenery better. In my own law, it has been like this since I went to school. One day, I will find my own rainbow. At that time, I don't
Experiment: Track and analyze the boot process of the Linux kernel
Booting from Start_kernel to init process using GDB trace debug kernel
Open the shell with a virtual machine in the lab building
CD linuxkernel/
Qemu-kernel linux-3.18.6/arch/x86/boot/bzimage -initrd rootfs.img
After the kernel boot is completed into the menu program ("Software Engineering C Coding Practice" course project), support three commands help, version and quit, you can also add more
Quiet read CLR via C # (06)-Constructor
Recently, I am busy watching the new pearl and have not studied for several days. It is a sin and a sin.
Today we summarize the knowledge of the class constructor.ArticleThere are quite a few, but I still feel that writing my own thoughts and understandings will improve.
You should be familiar with constructors. They are mainly used for initialization. There are two types of constructor: instance cons
Late night, quiet, no more than 30.
On the 27 th, I worked as a judge in the university city for a day. It is estimated that there are too many people scolded.
At noon on the 28th, I helped my relatives to repair their computers. In the afternoon, I rushed back to the Hong Kong University and handed in "hardware installation solution design" and "detailed system design documents". At night, I felt a lot about the campus road.
On the afternoon of the 2
In the past two weeks, I have found that there is a need for unconventional journeys in my life through my former colleagues and what happened to my friends.You do not know that day will meet, you pray don't want to happen to yourself, and then a lot of things, but not you think of itEspecially after the family encounters a very unfortunate encounter, how to be able to face the fact, and how to take the next step of the journeyEven how to face friends, colleagues are a very important question to
testing the new algorithm.2. Using Condition variablesYou can use conditional variables If your code is not process-independent, or if you want to have a mechanism that can be used for all situations to control an attribute.This is easier than using UID, just to create a global variable as a conditional selector switch:
If the variable is 0, the code on one of the branches is used;
Otherwise, select a different branch.
Control mode: Some kind of interface, or debugger.3. Usage
Originally thought that the end, the result is still quickly found out the problem, finish the bug good sense of accomplishment, troubleshooting logic is very important ~ I still very sharp drop ~So the upload of hundreds of G file is no problem,Problem reason: The upload can not be at the same time to create a new server file directory, must be established first, or when the transfer of the creation of folders will involve IO operations,There will be time to wait, then may cause the upload wait
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.