[Bug 300825] [NEW] having to grep for "no raid disks" is a poor approach

Colin Watson cjwatson at canonical.com
Fri Nov 21 22:18:34 UTC 2008


Public bug reported:

Binary package hint: dmraid

The installer greps 'dmraid -c -s' output for "No RAID disks" in various
places to determine whether any SATA RAID disks are present. This is a
poor approach because it depends on human-readable output: in Jaunty,
the output changed to "no raid disks" (lower-case), breaking several
parts of the installer in non-obvious ways. Please provide an exit-code-
based way to detect this (e.g. run some command which exits zero if SATA
RAID disks are present, otherwise non-zero) and update the installer to
use this.

Affected installer components are currently base-installer, grub-
installer, hw-detect, os-prober, and partman-base.

** Affects: dmraid (Ubuntu)
     Importance: Undecided
     Assignee: Luke Yelavich (themuso)
         Status: New

** Changed in: dmraid (Ubuntu)
     Assignee: (unassigned) => Luke Yelavich (themuso)

-- 
having to grep for "no raid disks" is a poor approach
https://bugs.launchpad.net/bugs/300825
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list