修改配置fstab中swap相关注释

modified:   operation/configure_fstab.sh
	modified:   operation/install.txt

Signed-off-by: Qin, Bo <bqin@linx-info.com>
This commit is contained in:
Qin, Bo
2014-07-04 16:55:26 +08:00
parent 3a81e8bc6b
commit e711ffc8e7
2 changed files with 6 additions and 5 deletions

View File

@@ -3,8 +3,10 @@
# DESCRIPTION: configure fstab
# this script will modify $TARGT/etc/fstab,
# append the mountpoint to $TARGET/etc/fstab.
# mountpoint, swap use by-id, other device use by-uuid.
# if can't get by-id or by-uuid use device name.
# From 2012 Oct 12. Swap also use UUID in fstab,
# Because bug# 822 is fixed that make the swap generate
# UUID, and can't awareness device file, use origin
# device name.
#
# SCRIPT NAME: configure_fstab.sh
#

View File

@@ -81,9 +81,8 @@ Usage
单个处理echo "/dev/hda2 /home ext3"|./configure_fstab.sh
批量处理:文件格式和单个处理一致
说明:
1.需要处理swap;
2.块设备如果是swap则转成by-id其他都转成by-uuid
这个是因为udev-117的udevinfo不能查出查出raid的by-id也不能查出swap的uuid。
1.从2012年10月12日开始swap也使用UUID因为修复bug# 822已经可以把swap的UUID生成出来
而不能识别UUID的设备文件还是用原来的设备文件名。
生成issue文件
generate_issue.sh