RE: Question about the code...

2002-06-13 Thread Bruce Edge
, 2002 5:06 AM To: Thomas Lange Cc: Paul Lussier; linux-fai Subject: Re: Question about the code... In a message dated: Wed, 12 Jun 2002 23:14:31 +0200 Thomas Lange said: $device_size is a global variable that is set by the shell routine diskandsize. So no $_ is needed in perl (RTF Perl M

Re: Question about the code...

2002-06-13 Thread Paul Lussier
In a message dated: Thu, 13 Jun 2002 08:03:16 PDT Bruce Edge said: I've wondered about this too, that is the ability to manually run FAI config s cripts from a shell. The problem is that none of the environment variables are setup as they are when running from within rcS_fai. Would it be

Re: Question about the code...

2002-06-12 Thread Thomas Lange
On Wed, 12 Jun 2002 13:47:32 -0400, Paul Lussier [EMAIL PROTECTED] said: In Fai.pm, the following code segment exists: sub read_disk_info { while ($ENV{device_size}=~ /(\S+)\s+(\d+)/g) { This code is called from class/S07disk.pl as: read_disk_info();