On Sun, Oct 02, 2011 at 07:22:07AM +0100, Nicholas Marriott wrote: > Hi > > All but the stat bit looks fine. How do you reproduce the problems? It > seems to fail just fine without it. > > $ config -f /x > config: cannot read /x: No such file or directory
To reproduce these, you would use -e. If you pass a non-existent file: % config -e /missing_file config: no supported exec type If you pass in a non-kernel binary: % file ~/a /home/edd/a: ELF 32-bit LSB executable, Intel 80386, version 1, for OpenBSD, dynamically linked (uses shared libs), not stripped % config -e ~/a (null)warning: no output file specified WARNING this kernel doesn't contain all information needed! WARNING the commands add and change might not work. WARNING this kernel doesn't support pseudo devices. WARNING this kernel doesn't support modification of BUFCACHEPERCENT. WARNING this kernel doesn't support modification of NKMEMPAGES. zsh: segmentation fault config -e ~/a Cheers -- Best Regards Edd Barrett http://www.theunixzoo.co.uk