修改配置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:
@@ -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
|
||||
#
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user