From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 28 Sep 1995 13:06:59 -0400 From: philw@plan9.att.com philw@plan9.att.com Subject: /dev/swap acting weird? Topicbox-Message-UUID: 28decd8c-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19950928170659.siwMi9MFQr-CSR8FMMq16nGN8tQvdks7PDdorvRsO_s@z> the swap number in /dev/swap has nothing to do with the size of the swap partition. It is a vector of reference counts used to mangae page sharing on the disc. It is set by conf.nswap and is allocated by swapinit/swap.c at boot time. the number is reported so you can ensure the device used to swap onto is big enough.