V2EX  ›  英汉词典

Swapfile

定义 Definition

swapfile(交换文件)指操作系统在磁盘上创建的一个文件,用来充当虚拟内存/交换空间:当物理内存(RAM)不足时,把暂时不用的数据页写入该文件,以释放内存;需要时再读回。

发音 Pronunciation (IPA)

/ˈswɑːp.faɪl/

例句 Examples

My laptop uses a swapfile when RAM is full.
我的笔记本在内存用满时会使用交换文件。

On Linux, you can create a swapfile to add swap space without repartitioning the disk, but you should set the right permissions and enable it with system tools.
在 Linux 上,你可以通过创建交换文件来增加交换空间而无需重新分区,不过需要设置正确的权限,并用系统工具启用它。

词源 Etymology

swap(交换;在内存与磁盘间“换入/换出”数据)+ file(文件)构成。该词多见于类 Unix/Linux 语境,用来区别于 swap partition(交换分区)。

相关词 Related Words

文学与著作中的用例 Literary Works

  • man 8 swapon / man 8 mkswap(Linux 手册页中常讨论以文件形式启用交换空间,即 swap file)
  • William Shotts, The Linux Command Line(在系统管理/内存与磁盘相关章节中常提到 swap 与交换空间配置)
  • Evi Nemeth 等, UNIX and Linux System Administration Handbook(系统内存管理与交换空间实践中常出现 swap file/交换文件的配置讨论)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1415 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 8ms · UTC 17:05 · PVG 01:05 · LAX 10:05 · JFK 13:05
♥ Do have faith in what you're doing.