Method for remotely accessing to terminal U (universal serial bus) flash disk
A remote access and terminal technology, applied in the field of remote communication, can solve the problems of U disk limitations, lack of interactivity, etc., and achieve the effect of enhancing security and enhancing interactivity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0039] This embodiment adopts the Udev mechanism driven by the Linux kernel, and when the operating system detects a device change, it will notify the Linux kernel and execute a pre-written script.
[0040] When the U disk is inserted into the terminal, the Linux kernel sends the insertion information of the U disk to the user space, and the Udev mechanism in the user space receives and analyzes the information, knows that the terminal has a U disk inserted, and executes the operation of setting up the FTP server according to the instructions. The method for Udev to detect the insertion information of the U disk is expressed by the following function:
[0041] sd[a-z][0-9] 0:0 666 / etc / hotplug / usb / udisk_insert
[0042] Among them, [a-z][0-9] means the device file name and device number of the inserted U disk; it means the U disk is inserted; where the path is located. When Udev detects that the USB disk is inserted, it executes the script udisk_insert under the target path. ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 