Subversion Repositories livecd

Rev

Rev 236 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 236 Rev 242
Line 877... Line 877...
877
echo                     "--------------------------------------------------------------"
877
echo                     "--------------------------------------------------------------"
878
echo                     "End of $SCRIPTNAME"
878
echo                     "End of $SCRIPTNAME"
879
echo
879
echo
880
 
880
 
881
 
881
 
882
### print (warn) message when using xfs
882
### print (warn) message when using xfs and kernel has xfs.ko not included 
883
### 
883
### 
-
 
884
 
-
 
885
rpm -ql kernel 2>/dev/null | grep -q \/xfs.ko
-
 
886
if [ "$?" != "0" ]; then
-
 
887
 
884
if [ "$FS_TYPE" = "xfs" ]; then
888
    if [ "$FS_TYPE" = "xfs" ]; then
885
    echo "--------------------------------------------------------------"
889
	echo "--------------------------------------------------------------"
886
    echo "IMPORTANT NOTE:"
890
	echo "IMPORTANT NOTE:"
887
    echo
891
	echo
888
    echo "Formating the rootfile system with xfs can causes problems"
892
	echo "Formating the rootfile system with xfs can causes problems"
889
    echo "after a regular kernel update."
893
	echo "after a regular kernel update."
890
    echo "Please run the following command after each kernel update" 
894
	echo "Please run the following command after each kernel update" 
891
    echo "in order to correctly build the initial ram disk:"
895
	echo "in order to correctly build the initial ram disk:"
892
    echo
896
	echo
893
    echo "# new-kernel-pkg --package kernel --mkinitrd --depmod \\"
897
	echo "# new-kernel-pkg --package kernel --mkinitrd --depmod \\"
894
    echo "                 --install 2.6.18-128.1.14.el5"
898
	echo "                 --install 2.6.18-128.1.14.el5"
895
    echo
899
	echo
896
    echo "(replace 2.6.18-128.1.14.el5 with the version number of the"
900
	echo "(replace 2.6.18-128.1.14.el5 with the version number of the"
897
    echo "updated kernel)"
901
	echo "updated kernel)"
898
    echo "--------------------------------------------------------------"
902
	echo "--------------------------------------------------------------"
-
 
903
	echo
899
    echo
904
    fi
900
fi
905
fi