Date: Sat, 10 Nov 2007 20:29:43 +0300 From: Anton Yuzhaninov <citrin@citrin.ru> To: freebsd-geom@freebsd.org Subject: Re: gstat don't work on 7.0-BETA2 Message-ID: <4735EA87.7040306@citrin.ru> In-Reply-To: <4735AAE3.7070209@citrin.ru> References: <4735AAE3.7070209@citrin.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10.11.2007 15:58, Anton Yuzhaninov wrote: > gstat don't work on my system: > > # gstat > gstat: geom_gettree = -1: No such file or directory > > Error "No such file or directory" seems to be irrelevant to the cause of > error. It show saved errno from: > readlink("/etc/malloc.conf",0x7fffffffe1f0,1024) ERR#2 'No such file or > directory' > > But real problem in other place... > > To test I'v written simple test (attached as geom-test.c) > > which show that: > 1. geom_getxml() return xml > 2. geom_xml2tree() can't parse this xml It fail to parse xml because it contain non-ASCII symbols (in my case cyrillic in cp1251) from CD label: any But it not obvious, what is the right way to fix this bug. Remove CD from CD-ROM to run gstat is a bad workaround. Better workaround change non ASCII symbols to "_" in glabel, but it also ugly... Anyway error message should be more relevant than "No such file or directory" (errno after readlink /etc/malloc.conf). -- WBR, Anton Yuzhaninov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4735EA87.7040306>