K.-P. Kirchdörfer wrote:
Hi,

I built a CD with new linuxrc from Charles and found a problem using whitespace in PKGPATH:

This works:
PKGPATH=/dev/fd0:msdos,/dev/cdrom:iso9660

This one fails with: " /dev/cdrom:iso9960 not found"
PKGPATH=/dev/fd0:msdos, /dev/cdrom:iso9660

Note it's the whitespace before "/dev/cdrom".

It may cause some headache for users...

Charles, can you pls look into it?

Are you using the latest version of my /linuxrc script? If so, did the setting of IFS (IFS='<space><tab><cr>' near the top of the file) get corrupted when downloading/copying?


Processing of PKGPATH is done with IFS set to "$IFS," so any whitespace or commas should be ignored, as long as IFS is properly set (note this can be confusing, because if IFS is unset or null, the default is <space><tab><cr>, which is what I explicitly set it to).

I'm also confused as to why you'd ever see the particular error message you're reporting. The PKGPATH entries should be split at the colon before anything is done with them, so I could see an error about
" /dev/cdrom", but not about " /dev/cdrom:iso9660".


Please let me know exactly which /linuxrc file you're using...

--
Charles Steinkuehler
[EMAIL PROTECTED]


------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id66&op=click

_______________________________________________
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to