On Wednesday 31 January 2007 06:59, Bernard Li wrote:
> On 1/30/07, Erich Focht <[EMAIL PROTECTED]> wrote:
> > After a quick look I somewhat doubt that your patch treats software raids
> > correctly (i.e. the case where swap is on a software raid). It's late, I
> > should have a closer look tomorrow.
> 
> All the patch does is to generate an autoinstallscript.conf for
> SystemImager such that it can generate a correct .master script which
> will mark the swap partition as "linux-swap".  If you decide to raid
> your swap, both partitions should still be marked as "linux-swap", so
> I don't think this is an issue?

You added the second if-block:

      if ($DISKS{PARTITIONS}{$parname}{RAID} ) {
          if ($flags) {
              $flags .= ",raid";
          } else {
              $flags="raid";
          }
      }
      if ($DISKS{PARTITIONS}{$parname}{TYPE} == "82") {
          $flags="swap";
      }

Please treat $flags with care ;-), look at the first if-block.

Regards,
Erich




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to