Linux 和 Windows 共享交换区( 三 )


echo;"Making;swap;partition";
mkswap;/dev/winswap;377496;
echo;"Activating;swap;partitions";
swapon;/dev/winswap;
activated=1;
break;

else;
let;loopcount=loopcount 1;
fi;

done;


if;[;$activated;-ne;1;];;;then;
echo;"Swap;signature;not;found;after;$loopcount;tries";
echo;"No;swapping;partitions;activated";
exit;1;
fi

推荐阅读