A server requires more swap space. A new swap partition is created at /dev/sdb2 using fdisk. After editing the configuration, which of the following commands is used to activate the new partition?

A server requires more swap space. A new swap partition is created at /dev/sdb2 using fdisk. After editing the configuration, which of the following commands is used to activate the new partition? 







A. swapon -a
B. mkfs -swap
C. sfdisk /dev/sdb2
D. mount -t vfs /dev/sdb2








Answer: A


Learn More :