[root@kicker root]# fdisk /dev/sda Command (m for help): d Selected partition 1 Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-992, default 1): 1 Last cylinder or +size or +sizeM or +sizeK (1-992, default 992): +32M Command (m for help): t Selected partition 1 Hex code (type L to list codes): 82 Changed system type of partition 1 to 82 (Linux swap) Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. [root@kicker root]# mkswap /dev/sda1 Setting up swapspace version 1, size = 32223 kB [root@kicker root]# swapon /dev/sda1 [root@kicker root]# free total used free shared buffers cached Mem: 125968 115520 10448 0 20060 24248 -/+ buffers/cache: 71212 54756 Swap: 560624 83040 477584 [root@kicker root]# swapoff /dev/sda1 [root@kicker root]# free total used free shared buffers cached Mem: 125968 115520 10448 0 20084 24244 -/+ buffers/cache: 71192 54776 Swap: 529160 83040 446120 [root@kicker root]#
Видимо, товарищ ошибается ...