Subject: fai-client: does not consistently list hard disks in the same order
Package: fai-client
Version: 3.2.4
Severity: normal
Tags: patch

*** Please type your report below this line ***
On a new target two hard disks were listed as "hda sda". On a subsequent
re-installation the disks were listed as "sda hda". The standard Etch
2.6.18 fai-kernel didn't properly detect new hardware so I was forced
to build a 2.6.24 fai nfsroot kernel. I now have Etch installed on both
hard disks :^). I'm not sure if the order changed due to the different
kernel or if udev was responsible but it doesn't matter.

The following patch allows FAI to consistently list hard disks it has
found. (Sorry if the lines wrap.)

# diff /usr/lib/fai/disk-info ./disk-info
23c23
< egrep ' cciss/c.d.\b| ida/c.d.\b| rd/c.d.\b| hd.\b| sd.\b|/disc
\b' /proc/partitions | diskandsize
---
> egrep ' cciss/c.d.\b| ida/c.d.\b| rd/c.d.\b| hd.\b| sd.\b|/disc
\b' /proc/partitions | sort -k +4 | diskandsize

Thanks,
Chris D


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fai-client depends on:
ii  file                        4.17-5etch3  Determines file type using
"magic"
ii  libapt-pkg-perl             0.1.20       Perl interface to
libapt-pkg
ii  perl                        5.8.8-7etch1 Larry Wall's Practical
Extraction

Versions of packages fai-client recommends:
ii  debconf-utils                1.5.11etch1 debconf utilities

-- no debconf information





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to