From: Patrick J. L. <pa...@us...> - 2004-09-27 20:52:44
|
Brad Erdman <ch...@um...> writes: > Hi, > > I have switched to the Linux boot disk and am having a problem. It is not > able to find the unattended site file. I get "Unable to open > z:\site\c0a84c28t.txt: No such file or directory at > /z/lib/Unattended/Inifile.pm line 270." Then "install.pl exited non-zero", > and finally "*** Dropping to shell". Well, we do not read any file named "c0a84c28t.txt" by default. So I am guessing you have modified Z:\site\config.pl. To work with the Linux boot disk, file names need to have a call to "dos_to_host()" wrapped around them. So, you need to take things like this this: $u->read ('z:\site\whatever'); And replace them with things like this: $u->read (dos_to_host ('z:\site\whatever')); The dos_to_host call converts DOS-style file names into Unix-style file names when invoked from the Linux boot disk. When invoked from the DOS boot disk, it leaves the name alone, letting you write code which works correctly from either boot disk. - Pat |