Problems with Kernel 2.6.x, /proc structure
Brought to you by:
dmercer
I modified the script to output the directory
get_dirinfo ist running at.
Output:
--snap--
CPU: AuthenticAMD AMD Athlon(tm) 64 Processor 2800+
1 1809 MHz i686 Processor
Secondary cache: 512 KB
FPU: AuthenticAMD AMD Athlon(tm) 64 Processor 2800+
Floating Point
Main memory size: 512 Mbytes
query-var in line 468: /proc/scsi
query-var in line 468: /proc/scsi/device_info
Not a directory ./lhinv line 489.
--snap--
/prc/scsi/device_info is a file on my machine.
I modified get_dirinfo to not test -e $query but to
test -d $query which resulted in more errors in other
places.
Regards,
M. Mehnert