Bug#648251: A patch to add support for distributions installed on MD Raid devices

2012-04-13 Thread Andriy Beregovenko
Hi, ...or little bit more easy(?): [ -f /proc/mdstat ] && sed -e 's,^\(md[0-9]\+\).*$,/dev/\1,p;d' /proc/mdstat -- Best regards, Andriy 0xBDDBDAE3 signature.asc Description: Digital signature

Bug#648251: A patch to add support for distributions installed on MD Raid devices

2011-11-09 Thread Michael Tokarev
On 10.11.2011 02:59, Hedayat Vatankhah wrote: Just a small nitpick: > + # Add MD RAID devices > + if [ -f /proc/mdstat ] ; then > + grep "^md" /proc/mdstat | awk '{printf "/dev/"$1"\n"}' > + fi awk '/^md/ {printf "/dev/"$1"\n"}' /proc/mdstat Thanks, /mjt -- To UNSUBSCRIBE, ema

Bug#648251: A patch to add support for distributions installed on MD Raid devices

2011-11-09 Thread Hedayat Vatankhah
Package: os-prober Version: 1.48 This bug is about the bug reported in [1] and the provided patch. This patch is expected to provide support for distributions installed on mdraid devices. Please review the patch and apply if appropriate. Thanks [1] https://bugzilla.redhat.com/show_bug.cgi