From e711ffc8e71e0068924c36cdd6aaaf7cdaf9d3eb Mon Sep 17 00:00:00 2001 From: "Qin, Bo" Date: Fri, 4 Jul 2014 16:55:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AEfstab?= =?UTF-8?q?=E4=B8=ADswap=E7=9B=B8=E5=85=B3=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit modified: operation/configure_fstab.sh modified: operation/install.txt Signed-off-by: Qin, Bo --- operation/configure_fstab.sh | 6 ++++-- operation/install.txt | 5 ++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/operation/configure_fstab.sh b/operation/configure_fstab.sh index 27d1d64..df0c619 100755 --- a/operation/configure_fstab.sh +++ b/operation/configure_fstab.sh @@ -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 # diff --git a/operation/install.txt b/operation/install.txt index f9f739f..2a4f9d2 100644 --- a/operation/install.txt +++ b/operation/install.txt @@ -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