Package: fai-client
Version: 3.3.5
Severity: important
Tags: squeeze sid

Hi,

I'm not quite sure whether this change is intentional but in the current
version of fai-client, disk-info does not output the disk sizes anymore.

when invoking /usr/lib/fai/disk-info on a Debian Lenny box, the script outputs
the disk devices together with their sizes (in blocks) while on Squeeze the
scripts just outputs the disk devices. The new behavior comes from this
change which removed $blocks from the output:

-       [ $isdisk -eq 1 ] && echo "$device $blocks"
+       [ $isdisk -eq 1 ] && echo "$device"

glaub...@z6:~> /usr/lib/fai/disk-info
sda
sdb
sdc
sdd
sde
glaub...@z6:~> /usr/lib/fai/disk-info.fixed 
sda 244198584
sdb 976762584
sdc 976762584
sdd 976762584
sde 976762584
glaub...@z6:~> 

Changing it back will fix the behavior again. If this behvaior is intentional,
it would be nice, if someone pointed me to the new way to determine disk sizes
since using disk-info breaks our Squeeze FAI installation for the time being.


Thanks,

Adrian

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fai-client depends on:
ii  file                        5.04-2       Determines file type using "magic"
ii  iproute                     20100224-3   networking and traffic control too
ii  libapt-pkg-perl             0.1.24       Perl interface to libapt-pkg
ii  liblinux-lvm-perl           0.14-2       Perl module to access LVM status i
ii  libparse-recdescent-perl    1.964+dfsg-1 Perl module to create and use recu
ii  perl                        5.10.1-12    Larry Wall's Practical Extraction 

Versions of packages fai-client recommends:
ii  cfengine2                     2.2.10-2   Tool for configuring and maintaini
ii  debconf-utils                 1.5.32     debconf utilities

Versions of packages fai-client suggests:
pn  cryptsetup                   <none>      (no description available)
ii  dmsetup                      2:1.02.45-1 The Linux Kernel Device Mapper use
pn  ntfsprogs                    <none>      (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to