首先执行命令: tail -f /var/log/syslog 然后插入有问题的U盘,tail会打印一些log: Jan :: zkw- kernel: [-: new high-speed USB device number using xhci_hcd Jan :: zkw- kernel: [-: New USB device found, idVendor=, idProduct= Jan :: zkw- kernel: [-: New USB device strings: Mfr=,
原文地址:http://www.cnblogs.com/coding-way/p/4243331.html 首先执行命令: tail -f /var/log/syslog 然后插入有问题的U盘,tail会打印一些log: Jan 23 09:40:55 zkw-3330 kernel: [1451066.881318] usb 3-1: new high-speed USB device number 61 using xhci_hcd Jan 23 09:40:55 zkw-3330 kern
无意中看到的一个例程,保留一份. 以供后用. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.IO; using System.Windows.Forms; using System.Runtime.InteropServices;