Create a USB flash drive and a UEFI boot drive for Chinese Cabbage
Make a USB flash drive for UEFI.
Download and install the brand new cabbage UEFI Version 7.3 from the official Chin
unsigned int delay_use = 5;
111 module_param (delay_use, uint, s_irugo | s_iwusr );
112 module_parm_desc (delay_use, "seconds todelay before using a new device ");
Set delay_use to 5, while module_param is a macro provided by Linux kernel 2.6, so that delay_use can be set when the module is loaded. (If this parameter is not set, the value 5 indicates that a new device is waiting for a delay of 5 seconds .) Why latency? When the inserted USB
-storage: devicescan complete \ n ");
936
937/* shocould we unbind if no devices weredetected? */
938}
939
940 scsi_host_put (us_to_host (us ));
941 complete_and_exit ( threads_gone, 0 );
942}
Row 3, where does delay_use come from? In the same file, a static variable is defined at the beginning:
110 static unsigned int delay_use = 5;
111 module_param (delay_use, uint, S_IRUGO | S_IWUSR );
112 MODULE_PARM_DESC (delay_use, "seconds todelay before using a new device ");
Set delay_use to
For a USB-enabled motherboard to be installed on a USB flash drive, you must first prepare a hard drive with a system installed to complete the following steps.
1
1, using BOOTICE.EXE to write to the hard disk master boot record as Grubdos, the startup file name is GRLDR
Rome was not built in one day. Before making the USB flash drive work, we actually made a lot of preparations for the driver.
We continue to follow our feelings. storage_probe (), 972 to 975 rows, and a series of functions named init _ * are called at the moment. Here some lock mechanisms and wait mechanisms are involved, however, it is only initialization, but
, select ultraiso--Boot--write to the hard disk image
3, click "Write", start writing. Prompt "Warning!" All data for the drive will be lost! Are you sure you're going to keep doing this? "Direct" is ". (Default write mode: usb-hdd+. Suggestions can be replaced for system unrecognized. )
4, click "Yes" began to write. Wait 15 minutes or so to get it done. The speed of writing depends mainly on the speed
The following describes the usb_stor_control_thread () function. What wakes up is the up ( (us-> sema) from the queuecommand, and us-> sulfate is assigned to the Server Load balancer, in contrast, the Server Load balancer is a parameter passed in when the SCSI core layer calls the queuecommand. Focus on usb_stor_control_thread (). Row 3: As mentioned earlier, we have to look at the dev_mutex lock from a higher perspective after reading the entire module.
Line 3: If us_fw.x_disconnecting is set,
The following describes the usb_stor_control_thread () function. What wakes up is the up ( (US-> SEMA) from the queuecommand, and us-> sulfate is assigned to the Server Load balancer, in contrast, the Server Load balancer is a parameter passed in when the SCSI core layer calls the queuecommand. Focus on usb_stor_control_thread (). Row 3: As mentioned earlier, we have to look at the dev_mutex lock from a higher perspective after reading the entire module.
Line 3: If us_fw.x_disconnecting is set,
Get what we need from the two tables, and then the following code is expanded around the two pointers. (Unusual_dev and id) continue to read get_device_info ().
Row 3: Record unusual_dev in us. There is also such a member in us. In this way, it will be easy to use after recording. Because us runs through the whole story, it is very convenient to access its members and can be accessed at any time, however, the us_unusual_dev_list and storage_usb_ids tables will not be reused this time. Because w
USB flash drives, a mobile storage device, provide great convenience for people to store data due to its advantages such as small size, large capacity, and easy to carry. But thanks to this convenience, the virus also has a chance to take advantage of it. Have you ever taken a USB flash
Mount the USB flash drive another day and mount the dvd and mobile hard drive. 1. before inserting the USB flash drive, # cat/proc/tartitions2, insert the
We followed storage_probe () almost completely, and it seems that everything is about to end, but do you think you haven't understood how the device works so far? USB flash disks, not just USB devices or disks, must comply with the USB massstorage protocol and...
We followed storage_probe () almost completely, and it
-2.6.22/drivers # cd usb/
Lfg1:/usr/src/linux-2.6.22/drivers/usb # ls
Kconfig Makefile README atm class core gadget host image misc mon
Serial storage usb-skeleton.c
Note that each directory contains a Kconfig file and Makefile, which is very important. We will introduce it later.
Our story is based on the drivers/usb
I have always recommended using group policies to disable automatic playback. Today, I saw a question post in the forum. This post attempts to describe a point of view-to avoid double-clicking or inserting a USB flash drive (mobile hard drive) poisoning, the Group Policy Editor alone is invalid. You need to modify the
Linux www.2cto.com installed on a virtual machine. If you want Linux to identify a USB flash drive, you need to move the cursor to the virtual machine's linux and then insert it into the USB flash drive,
USB flash drive cracking XP Administrator Password
Method 1
In fact, cracking windows passwords is also very simple. To do this, you must first sharpen the tool. To crack the XP login password, we need to use the "ERD Commander 2003" (ERD) software, which is generally built into the winpe and other system recovery discs. However, the disk is too large to carry
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.