.SWP 文件扩展名

2 种文件类型使用 .swp 扩展名。

Vi Swap File

开发者 Bill Joy
受欢迎程度
3.4  |  29 
 

什么是 SWP 文件?

An SWP file is a swap file created by the Vi text editor or one of its variants, such as Vim (Vi iMproved) and gVim. It stores the recovery version of a file being edited in the program. SWP files also serve as lock files, so no other Vi editing session can concurrently write to the currently-open file.

更多信息

SWP files are created immediately when a Vi text editing session is started. They are saved to the same directory as their original file. For example, a text file with the name example.txt would have a swap file named .example.txt.swp.

If a Vi session terminates due to a program kill or crash, the SWP file remains. This allows users to recover the data using the (R)ecover option when opening the original file. However, if you do not need to recover data, you can manually delete the SWP file so the warning message stops appearing.

When trying to open a file that has a swap file, Vi provides the following message: "Swap file .example.txt.swp already exists!" (where example.txt is the file being opened). From this dialog, you can choose these options: 1) (O)pen Read-Only, 2) (E)dit, 3) (R)ecover, 4) (Q)uit, or 4) (A)bort.

注: If Vi or its variants have already created an SWP file for a file, and they attempt to create another swap file, they'll append that swap file with the .swo extension. If an .swo file exists, they'll append the file with the .swn extension, and so on.

如何打开 SWP 文件

SWP files are not meant to be manually opened. In Vi and its variants, if you attempt to open a file for which an SWP file exists, the programs will ask whether you want to recover the data stored in your SWP file instead.

使用File Viewer Plus打开 400 多种文件格式。免费下载

可打开或引用 SWP 文件的程序

Windows
免费
Mac
免费
免费
Linux
免费
Vi
分类: 杂项
更新时间: 2021-08-31

Swap File

开发者 不适用
受欢迎程度
3.5  |  10 
 

Swap file used by the virtual memory component of an operating system; contains data that has been swapped from memory to the hard disk; helps increase the amount of available memory to a computer; also helps make accessing commonly used data more efficient.

更多信息

SWP files may be pre-allocated to a section of a hard disk during an operating system installation, or they may be created on-demand. For pre-allocation, the operating system can increase the amount of virtual memory by the size of the swap file.

Many operating systems implement a virtual memory scheme called Demand Paging. This scheme stores the swap file in "pages," which are swapped from the hard disk to memory on-demand. Demand paging may also attempt to anticipate which memory segments are likely to be used next and prefetch them.

可打开或引用 SWP 文件的程序

Windows
Microsoft MS-DOS
Mac
操作系统自带
分类: 系统
更新时间: 2015-01-13

验证者 FileInfo.com

FileInfo.com 团队 独立研究了本页面列出的所有文件格式和软件程序。 我们的目标是达到 100% 的准确率,并且仅发布我们已验证过的文件类型信息。

如果您想为此页面提出新增或更新建议,请告诉我们