# swap was on /dev/sda5 during installation この行が編集されるべきターゲットなのか?這一行是要編輯的目標嗎?
# UUID=b27697f1-613f-485f-be6e-e1e5b65f1b14 none swap sw 0 0
1. This line
代码: 全选
# swap was on /dev/sda5 during installation
is for comment or memory or note.
So # could not be removed always.
2. This line
# UUID=b27697f1-613f-485f-be6e-e1e5b65f1b14 none swap sw 0 0
is the target to be edited. for examples :
2-1. purpose for comment or memory or note
# UUID=b27697f1-613f-485f-be6e-e1e5b65f1b14 none swap sw 0 0
2-2. purpose to Activate the swap partition with UUID b27697f1-613f-485f-be6e-e1e5b65f1b14 at boot process.
UUID=b27697f1-613f-485f-be6e-e1e5b65f1b14 none swap sw 0 0
It should be the third column, separated by spaces or tabs.
3. "the third column" means :
3-1.
----------------------------------------------------------------
# /etc/fstab: static file system information.
#
# <file system> <mount point> <
type> <options> <dump> <pass>
3-2.
UUID=b27697f1-613f-485f-be6e-e1e5b65f1b14 none
swap sw 0 0
4. for advanced reference :
4-1.
http://manpages.ubuntu.com/manpages/xen ... tab.5.html
fstab - static information about the filesystems
The third field (fs_vfstype)
An entry
swap denotes a file or partition to be used for swapping, cf. swapon(8). An entry none is useful for bind or move mounts.
More than one type may be specified in a comma-separated list.