Subject: | Output of fs examine has changed |
Date: | Thu, 20 Jun 2013 10:12:58 +0200 |
To: | bug-AFS-Command [...] rt.cpan.org |
From: | Christopher Odenbach <odenbach [...] uni-paderborn.de> |
Hi,
since some time the output of 'fs examine' has changed, there is now a
new line containing the fid:
odenbach@timberwolf:~$ fs examine -path /afs/uni-paderborn.de
File /afs/uni-paderborn.de (536870919.1.1) contained in volume 536870919
Volume status for vid = 536870919 named root.cell.readonly
Current disk quota is 20000
Current blocks used are 108
The partition has 397765707 blocks available out of 2097020928
Thr problem with AFS::Command::FS is, that 'examine' expects the second
line to be the first. This results in a warning:
odenbach@timberwolf:~$ perl -w -MAFS::Command::FS -e
'$fs=AFS::Command::FS->new; $fs->examine (path => "/afs");'
Use of uninitialized value in hash element at
/usr/share/perl5/AFS/Object/CacheManager.pm line 40, <GEN6> line 1.
The attached patch fixes the problem and should also work with the old
output.
Thanks,
Christopher
--
======================================================
Dipl.-Ing. Christopher Odenbach
Zentrum fuer Informations- und Medientechnologien
Universitaet Paderborn
Raum N5.311
odenbach@uni-paderborn.de
Tel.: +49 5251 60 5315
======================================================
Message body is not shown because sender requested not to inline it.