|
|
发表于 2005-11-14 09:31:04
|
显示全部楼层
Post by ehu
书上的原文是这样的:
If a swap partition was created, it will need to be initialized for use by issuing the command below. If you are using an existing swap partition, there is no need to format it.
Replace [yyy] with the name of the swap partition.
1 其中说的was created是指已经有这样一个可用作swap分区的空间并且已经格式化为swap格式,
还是,只是有这么一个分区空着,可用作swap分区,但是没有格式化为swap? 指的是前者,即是说系统已经存在已格好的swap分区可供使用
2 其中说的用这个命令initialized这个分区是指这个分区没有格式化,现在有这个命令格式化它并且加载使用,
还是,分区已经格式化,用这个命令加载它,
还是,只是格式化,但并不加载? initialize就是格式化,在Linux没有initialize这命令,要格式化swap分区就要用mkswap命令了,加载命令是swapon
3 existing swap partition是指已经存在并且格式化好的分区吗?
最近打算制作一个livecd,所以对这些细节很关注。 是的
Post by ehu
mkswap sets up a Linux swap area on a device or in a file.
(After creating the swap area, you need the swapon command to start using it. Usually swap areas are listed in /etc/fstab so that they can
be taken into use at boot time by a swapon -a command in some boot script.)
以上是mkswap的man文档里的,这个对于livecd也适用吗? 若果你没有自行制定你自已的LiveCD,这当然不适用了 |
|